Forum Discussion
Jose_Nelson_206
Nimbostratus
Mar 02, 2017SNAT using specific IP based on the client IP range
I'm needing to use an iRule to determine if a client connection comes from IP 10.1.0.0/25 then SNAT using a specific IP instead of the default AutoMap SNAT IP. I found the iRule below and have tried...
Kevin_Davies_40
Nacreous
Mar 02, 2017 when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 10.1.0.0/25]} {
snat 10.1.5.5
}
}
Kevin_Davies_40
Nacreous
Mar 02, 2017Sure mate. Glad to help anytime :-)
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