Forum Discussion

KPS_149915's avatar
KPS_149915
Icon for Nimbostratus rankNimbostratus
Apr 13, 2017

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 { ...
  • Samir_Jha_52506's avatar
    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 } 
            }
        }
    }