Forum Discussion
Darren_Walker_2
Jul 24, 2018Cirrus
Proxy Protocol: How to implement via irule
We are trying to implement proxy protocol (for use with RabbitMQ AMQP) and have this irule:
when CLIENT_ACCEPTED{
set proxyheader "PROXY TCP[IP::version] [IP::remote_addr] [IP::local_addr] [TC...
- Jul 26, 2018
After restarting the BIGIP we are no longer receiving the operation not supported error.
AlexLP_236549
Altocumulus
Are you load-balancing AMQP?
Darren_Walker_2
Oct 10, 2018Cirrus
This is how we configured rabbitmq.conf to get it working:
listeners.ssl.default = 5671
proxy_protocol = true
ssl_options.cacertfile = /path/to/cacert.pem
ssl_options.certfile = /path/to/cert.pem
ssl_options.keyfile = /path/to/key.pem
ssl_options.verify = verify_peer
ssl_options.fail_if_no_peer_cert = false
ssl_options.depth = 3
ssl_options.versions.1 = tlsv1.2
auth_mechanisms.1 = PLAIN
auth_mechanisms.2 = AMQPLAIN
auth_mechanisms.3 = EXTERNAL
On the F5 appliance, create an iRule with the following contents:
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}
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