Updated on 2025-07-25 GMT+08:00

ProxyProtocol

Using ProxyProtocol to Transfer Client IP Addresses

You can enable ProxyProtocol on listeners and ensure that the backend servers can parse ProxyProtocol to transfer client IP addresses.

  • TCP listeners: You can obtain the client IP address using ProxyProtocol because Transfer Client IP Address does not work in the following scenarios:
    • TCP listeners communicate with IP as backend servers.
    • IPv4/IPv6 translation is enabled for TCP listeners. In this case, client IP addresses are translated.
  • TLS listeners: You can use ProxyProtocol to transfer client IP addresses.

Ensure the backend servers support ProxyProtocol. If they do not, services may be interrupted.