Forum Discussion
Kevin_Nail
Nimbostratus
Mar 04, 2010SNAT based on incoming IP
I have a need to snat based on the incoming IP. It should be relatively straight forward but I can't seem to make my mind wrap around this.. or what's the best way to do it.
I have a pr...
L4L7_53191
Nimbostratus
Mar 05, 2010I've not tested this (don't have the time at the moment), but maybe something like this? Obviously change the IPs to suit your environment.
when CLIENT_ACCEPTED {
switch [IP::client_addr] {
10.9.9.0/26 { snat 10.9.9.16 }
10.9.9.65/26 {snat 10.9.9.99}
10.9.9.128/26 {snat 10.9.9.24}
default { snat 10.10.10.99 }
}
}
-Matt
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
