Forum Discussion
jmloveless_4477
Nimbostratus
Nov 09, 2010iRule to SNAT and select pool member
Good evening,
I am using the LC with an irule on the default gateway pool to snat a particular internal client to an outside address (overriding the automap on the default gateway poo...
hoolio
Cirrostratus
Aug 23, 2011Hi Jaime,
You can use the LB_SELECTED event to specify a SNAT IP based on the selected pool member address:
when LB_SELECTED {
if {[IP::addr [IP::client_addr] equals 10.10.1.1]}{
snatpool snat_pool_10_10_1
}
}
The default action would be to use whatever SNAT is enabled on the virtual server.
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
