The working mechanism behind the Proxy Protocol

This section describes how AxoSyslog supports the Proxy Protocol.

The working mechanism behind the Proxy Protocol

When using the Proxy Protocol during load balancing, AxoSyslog detects the information behind connections connected to the load balancer, then parses the injected information into the following macros:

Data Macro in version 4.9 and earlier Version 4.10 and later
Source IP of the proxy PROXIED_SRCIP SOURCEIP
Source port of the proxy PROXIED_SRCPORT SOURCEPORT
Destination IP of the proxy PROXIED_DSTIP DESTIP
Destination port of the proxy PROXIED_DSTPORT DESTPORT
IP version of the connection PROXIED_IP_VERSION IP_PROTO
Last modified September 30, 2026: Fix proxy-protocol related typos (40a5e3e4)