Patrick_Chang_7
Feb 14, 2008Historic F5 Account
selective SNAT on Forwarding VS
I want to selectively SNAT on a forwarding VS based upon the IP address of the destination. My iRule would look like the following:
when CLIENT_ACCEPTED {
if [matchclass $$::internal_networks not equal IP destination] {
snatpool pool_snat
}
}
The questions I have are the following:
What is the syntax for not equal?
What structure should I use to get the IP of the destination in this case? Is it IP::local_addr?