Forum Discussion
Rico
Dec 20, 2018Cirrus
Ronald,
If your only issue is that you need SNAT enabled on certain URI paths, you could use the 'snat' command as shown below:
if { ([HTTP::uri] starts_with "/corporate/" ) && ( [active_members [LB::server pool]] > 0)} {
persist none
pool POOL.corporate.nl.prod
snat automap
}
The 'snat' command can utilize SNAT automap, SNAT pools, and can also SNAT to any address specified in the iRule.
Hope this helps.