Forum Discussion
Thomas_Knutson_
May 19, 2011Nimbostratus
I did some more looking around, and think I may have been able to adapt an iRule to acomplish this. Will the iRule below work, or is there a better way for me to write it?
when CLIENT_ACCEPTED {
if { [IP::addr [IP::remote_addr] equals xx.xx.xx.xx/24] } {
snat automap
} elseif { [IP::addr [IP::remote_addr] equals yy.yy.yy.yy/24] } {
snat automap
} elseif { [IP::addr [IP::remote_addr] equals zz.zz.zz.zz/24] } {
snat automap
} else {
return
}
}