Forum Discussion
janholtz
Aug 15, 2017Altostratus
Hi
I don't quite understand the question.
A SNAT pool is a group of IP addresses that could be used as source IP's on the F5 ... Do you mean that ServerA has the SAME IP address as one that is in the SNAT pool?
Do you need to conditinally SNAT traffic coming from Server A, in the event that it is destined for a specific external IP?
if so:
//
when RULE_INIT {
set ServerA 192.168.1.1
set DestinA 10.0.0.1
}
when CLIENT_ACCEPTED {
if { [IP::client_addr] equals $ServerA && [IP::remote_addr] equals $DestinA } {
snat $ServerA
}
}
//Jan