Derek_Rice_2913
Jul 24, 2017Nimbostratus
iRule to SNAT only for requests sent to specific destination.
Obligatory, newish to iRule. Wondering if this iRule will take any requests from 1.1.1.1 destined for IP specified in "remote_net" class will and SNAT them, otherwise no SNAT. I think this will work, just looking for confirmation.
when CLIENT_ACCEPTED {
if { ([class match [IP::client_addr] equals 1.1.1.1]) and ([class match [IP::remote_addr] equals remote_net]) } {
snatpool snatpool_remote
}
}