Forum Discussion
FELIPE_GALLEGO1
Nimbostratus
Jan 10, 2007I need to force connection if the source address is ...
Sorry, for this question, because I'm sure it's very simple, but it's my first irule.
I need to force connections depending of source address,I'm checking with this irule.
wh...
hoolio
Cirrostratus
Jan 10, 2007Hi Felipe,
That's very close. Just change the first IP:: to IP::addr, like this:
when CLIENT_ACCEPTED {
if { [IP::addr [IP::remote_addr] equals 10.1.1.8] } {
pool DNI_POOL
} else {
pool GW_POOL
}
}See the wiki page on IP::addr for details:Click here
Aaron
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
