cli
cli copied to clipboard
Forwarding real IP address in headers
Describe the bug
The destination web service doesn't have any information about the real IP address.
For obvious reasons, we can only see internal IPs as REMOTE_ADDR or SERVER_ADDR
But X-Forwarded-For contains internal host as well.
To Reproduce Steps to reproduce the behavior:
- Setup the tunnel to phpinfo()
- We don't see any real IP headers.
Expected behavior
Server-side daemon forwards REMOTE_ADDR to X-Real-IP or X-Forwarded-For.
Environment OS: Linux Version: 1.0.0-beta.15
Hello, thank you for reporting this issue.
That's valid point. We will investigate and try to provide the solution for it while keeping current behavior.
Yeah, there is a same problem in nodejs express too!