Forum Discussion
1 Reply
Sort By
- Ed_SummersNimbostratus
Since you don't want to SNAT the servers when they're accessing other objects through the BIG-IP, one solution would be to apply an iRule to your Virtual Server that performs the SNAT. The below assumes you have created a data group called 'the_servers' that contains IP addresses of the servers to which you wish to apply SNAT. Create and populate the data group, create the iRule, and apply the iRule to your VS.
when CLIENT_ACCEPTED { if { [class match [IP::client_addr] equals the_servers] } { snat automap } }
I used automap as an example, but if you have a specific SNAT address you can use that as well.
References:
Snatpool article - in case you need a snatpool instead of SNAT