KPS_149915
Apr 13, 2017Nimbostratus
Source Redirect irule nor working
Hi All
Am trying to achieve source based redirect but having issues. VIP is listening on port 514. Seems all traffic are sending in poolb_520_UDP, not sure why.
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 10.192.12.0/24]
or [IP::addr [IP::client_addr] equals 10.193.12.0/24]
switch [UDP::local_port] {
514 {
pool poola_514_UDP
}
}
}
else {
pool poolb_520_UDP
}
}
some modification require in above irule. Try this & paste if any issue.
when CLIENT_ACCEPTED { if {([IP::client_addr] equals 10.192.12.0/24) or ([IP::client_addr] equals 10.193.12.0/24)} { switch [UDP::local_port] { 514 { pool poola_514_UDP } default { pool poolb_520_UDP } } } }