Skip to content

Instantly share code, notes, and snippets.

@carldanley
Created October 4, 2018 17:33
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carldanley/9716a8be841d26fa0402d5d99364a5a4 to your computer and use it in GitHub Desktop.
Save carldanley/9716a8be841d26fa0402d5d99364a5a4 to your computer and use it in GitHub Desktop.
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
}
@carldanley
Copy link
Author

This irule enables proxy protocol for in an F5 configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment