Alex_Eduardo_Ar
Nov 10, 2017Nimbostratus
Forwarding by destination ip in VS of type "performance (Layer 4)"
Hello, I have a VS of the type "performance (Layer 4)", without destination address, which captures TCP traffic by source address, in all ports, and directs it to a POOL. This is working correctly.
Now I want the traffic that is being captured and balanced towards the pool to be forwarded, considering the destination IP. I created the following iRule but it is not working.
Code
when CLIENT_ACCEPTED {
if { ([matchclass [IP::remote_addr] equals $::net_CPD_allow]) }{
log local0. "La IP [IP::client_addr] va al cpd "
forward
}
pool "bluecoat_redireccion_wifi_Any"
}
The desired end result is to modify the VS so that it captures all traffic, not only TCP traffic, and that through iRule is possible, direct traffic to "data-center", instead of sending it to the Pool.