Forum Discussion
Jacob_Becker_41
Nimbostratus
Jun 06, 2006redirect by ip to pool
I'm a newbie to the irules game and I'm just wondering if its possible to redirect traffic from a ip to a pool. Basically what I want to accomplish is redirect all traffic from port 3306 to a pool, b...
Jacob_Becker_41
Nimbostratus
Jun 07, 2006the varible $ext_ip, is not in the code I'm trying to use. I just didn't want to post our ip address on the forum. In that spot I have a actual ip address.
here is the error it is posting.
01070151:3: Rule [ext_mysql] error:
line 1: [undefined procedure: rule] [rule filter_clients_rule {
when CLIENT_ACCEPTED {
if { [IP::remote_addr] ==
and [TCP::local_port] == 3306 } {
log local0.info "accepted connection from [IP::remote_addr]"
pool http_pool
} else {
log local0.info "rejected connection from [IP::remote_addr]"
reject
}
}
}]
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects