HAProxy PROXY Protocol

When you forward traffic to an upstream TCP service, the connection arrives from Pinggy, so your service won’t see the client’s original IP address. The PROXY protocol adds a header to connections to your upstream service, passing along connection details like the original client IP. You will need to configure your upstream service to handle the PROXY protocol header.

Pinggy supports the HAProxy PROXY protocol, where the target web server is an HAProxy server. It can be enabled via x:haproxy[:v2]. Pinggy supports both version 1 and version 2. As of now, it is applicable for all TCP connections, irrespective of tunnel type.

To enable HAProxy v1, use x:haproxy or x:haproxy:v1:

To enable HAProxy v2, use x:haproxy:v2: