Forum Discussion
Proxy Protocol via iRule --> how to implement v2
Can you please share your vip configuration details and the iRule details so that we can see the issue closely.
Also are you using RabbitMQ instances
If yes then you need
To enable this support on an F5 LTM, perform the following steps:
Enable proxy_protocol on your RabbitMQ instances.
{rabbit,[
{proxy_protocol, true}
]}
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
}
https://devcentral.f5.com/codeshare/proxy-protocol-initiator
Apply this iRule to your AMQP Virtual Server(s). Note, this does require a TCP profile to be applied, so a 'Standard' Virtual Server will need to be used.
That's it! You should now see your client connection information!
Without Proxy Protocol enabled
(This IP is within the snat pool on the virtual server)
Recent Discussions
Related Content
* 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