Skip to main content

Forwarding Original Connection Data

When you forward traffic to an upstream TCP service, becuase traffic is coming from the ngrok agent, it won't have access to connection information like the original client IP address. You can add the PROXY protocol header on connections to your upstream service to send original connection information to your upstream service.

You will need to configure your upstream service to handle the PROXY protocol header.

info

PROXY protocol is not support for SSH

TCP proxy protocol example

Loading…

TLS proxy protocol example

Loading…