Forum Discussion
genseek_32178
Nimbostratus
Jun 12, 2012iRule syntax
Hi,
We ve the following iRule configured,
iRule X
when CLIENT ACCEPTED {
if {[IP::addr [ IP::local_addr] equals 10.10.10.x ] } {
snatpool pool1
} ...
hoolio
Cirrostratus
Jun 12, 2012If the client's destination IP address was 10.10.10.x, the iRule would apply a SNAT using snatpool pool1 on the serverside connection. If the client's destination IP address was 20.10.20.x, the iRule would apply a SNAT using snatpool pool2 on the serverside connection. So IP::local_addr in CLIENT_ACCEPTED refers to the client's destination (TMM's local address for the clientside context).
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
