Forum Discussion

eLeCtRoN's avatar
eLeCtRoN
Icon for Cirrus rankCirrus
Nov 27, 2024

F5 iRule Proxy Protocol

Hello,

 

I have this iRule:

when CLIENT_ACCEPTED

{ set proxyheader "PROXY TCP[IP::version] [IP::remote_addr] [IP::local_addr] [TCP::remote_port] [TCP::local_port]\r\n" }

when SERVER_CONNECTED {

TCP::respond $proxyheader

}

so, what I want to do now is, this iRule shout not trigger for a specific host or url, the virtual server with this assigned iRule has a LTM policy because it is one virtual server for different hosts, and the policy does the traffic send to the correct pool, so what could I do to exclude a specific URL or Host from this iRule, maybe I could get an example iRule.

 

kind regards

No RepliesBe the first to reply