Forum Discussion
jmloveless_4477
Nov 09, 2010Nimbostratus
iRule 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...
hooleylist
Aug 23, 2011Cirrostratus
Hi 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
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