Forum Discussion
eLeCtRoN
Nov 27, 2024Cirrus
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 { ...
Kerry
Nov 27, 2024Cirrus
in the LTM policy set a variable at https request. ie match: host is xxx, path is yyy, action: set variable SKIP_irules 1 at http_request. else in the irule when HTTP_Request section you need to test HTTP::host and/or HTTP::path for each
in irule
if {![info exists SKIP_irules]} { TCP::respond $proxyheader}
search f5 irules HTTP::host
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