genseek_32178
Feb 15, 2013Nimbostratus
Rules
Hi Experts,
We ve the following iRule,
rule rule_mix {
when CLIENT_ACCEPTED {
if { [IP::addr [IP::local_addr]/8 equals 10.112.1.0] }{
snat none
}
else { ...
i do not think irule is not hit. for logging, you may start by logging ip and port.
e.g.
when CLIENT_ACCEPTED {
log local0. "[IP::client_addr]:[TCP::client_port] > [IP::local_addr]:[TCP::local_port]"
if { [IP::addr [IP::local_addr]/8 equals 10.112.1.0] }{
snat none
} else {
snatpool pool_mix
pool AX
}
}
when SERVER_CONNECTED {
log local0. "[IP::local_addr]:[TCP::local_port] > [IP::remote_addr]:[TCP::remote_port]"
}