Forum Discussion
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 { ...
- Apr 13, 2017
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 } } } }
Stanislas_Piro2
Apr 14, 2017Cumulonimbus
the IP address condition was not working...
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr]/24 equals 10.192.12.0] or [IP::addr [IP::client_addr]/24 equals 10.193.12.0] } {
switch [UDP::local_port] {
514 { pool poola_514_UDP }
default { pool poolb_520_UDP }
}
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects