Thiyagu_343098
Jul 30, 2018Nimbostratus
Conditional SNAT based on source IP
Hello All,
I'm working on a task to configure an irule to do a conditional SNAT based on source IP.
when CLIENT_ACCEPTED { if { [matchclass [IP::client_addr] equals DNS_SNAT_TEST]} { snatpool SNAT_POOL_LAN } else{ snat none }
}
Could you please help me to ensure the above logic work? Anything else I have to add with this irule?
Regards, Thiyagu