WUM_113639
Dec 08, 2014Nimbostratus
SNAT PBR Irule
Hi, I am trying to replicate Cisco PBR configuration in F5 LTM using an irule, I have a condition, if Local_Client = 192.168.11.10 is trying to access Remote_Server = 192.168.12.10, I want to translate the source to SNAT_IP = 192.168.12.10.
I have to put the irule to a forwarding virtual server that forwards traffic for all the inside clients to outside...and vice versa...I just want to put the conditional SNAT for the Local_Client.
when CLIENT_ACCEPTED { if { [IP::addr [IP::client_addr] equals 192.168.11.10/32] } { if { [IP::addr [IP::remote_addr] equals 192.168.13.10/32 ] } { snat 192.168.12.10 } } }
I have tried it but it does not seem to work, need your experts' suggestion.