SW_159148
Aug 08, 2014Nimbostratus
How to mirror SNAT when using an iRUle with "snat automap"
I have configured the following iRule which will SNAT only when the source and destination subnet are the same. It works fine, but I can't figure out how to enable connection mirroring on a SNAT when it is called out in an iRule.
when LB_SELECTED { if {[IP::addr "[IP::client_addr]/24" equals "[LB::server addr]/24"]} { snat automap }}
Thanks.