Forum Discussion
Eric_Van_Tol_10
Nimbostratus
Oct 10, 2005Selective SNAT rule
Hi all,
I am new to iRules and just implemented my first one today to resolve a problem we've been seeing with NAT. However, I need to create another one and I need to know the correct syntax to...
JRahm
Admin
Oct 10, 2005Try: (untested!)
when LB_SELECTED {
if {[IP::addr [IP::remote_addr] equals "172.19.10.0/24"]} {
snat disable
}
}You'll need to enable snat on the pool definition, though, to allow the snat to occur to 192.0.2.25, unless you want to add that into the rule as well
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
