Forum Discussion
The_Bhattman
Jun 01, 2014Nimbostratus
Hi Karthik, Here is an example of where you can apply an Irule on a Forwarding Virtual Server.
The below assumes you have created a network address Datagroup and snat pool
when CLIENT_ACCEPTED {
This irule will snat all requests except for clients destined to a network that doesn't need to be SNAT'd
if { ![class match [IP::local_addr] equals dg-exclude-net] } {
snatpool snat_client_outbound
}
}
I hope this helps
-=Bhattman=-