Forum Discussion
What_Lies_Bene1
Jan 23, 2013Cirrostratus
So, let's add some logging to this (assuming you can test this without it impacting your system with millions of log entries);
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 172.21.10.0/24] } {
log .local0 "Not NATting for: [IP::addr [IP::client_addr]"
snat none
Stop processing the iRule
return
} else {
snatpool SNAT-NATPOOLX
log .local0 "SNATting for: [IP::addr [IP::client_addr]"
}
}