Proxy Protocol Integration | 0.16.6.2+
Starting with OvenMediaEngine Enterprise version 0.16.6.2-1, support for The PROXY protocol version 1 of HAProxy is available.
With this feature, OvenMediaEngine can handle stream input via The PROXY protocol. To enable this feature, activate the <HAProxyProtocol>
in the Server.xml
as follows:
Access Control and HAProxy Protocol
You can use the Client Address forwarded via the HAProxy Protocol for Access Control.
SignedPolicy
When the real_ip
policy is set in SignedPolicy
, you can verify the Client Address forwarded through the HAProxy Protocol. The allow_ip
is the IP of the directly connected client, so you can enhance security by first checking if the connected IP is an allowed proxy server IP.
When HAProxyProtocol
is enabled, SignedPolicy
validates the Client Address forwarded via The Proxy protocol against real_ip
.
Admission Webhooks
The Client Address forwarded through the HAProxy Protocol is passed to the Control Server in the real_ip
field of AdmissionWebhooks
.
Since the address
field still contains the IP of the directly connected client, you can enhance security by first checking if this IP is an allowed proxy server IP.
When HAProxyProtocol
is enabled, AdmissionWebhooks
sets the Client Address forwarded via The Proxy protocol as the highest priority for the real_ip
field, over the existing X-REAL-IP
or X-FORWARDED-FOR
headers.
Last updated