mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-24 03:02:24 -05:00
Client IP not forwarded to services #380
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FirmYn on GitHub (May 27, 2025).
Hi !
On the services deployed behind pangolin the user activity only shows private IP from newt tunnel.
There is some traefik plugins made for Cloudflare tunnels (which I do not use), that I tried without success. I don't find a lot of documentation on this subject, am I missing something ?
I am using pangolin 1.4.1 and the first version I deployed was the 1.1.0, if that helps :)
Example of activity on my jellyfin instance :

@oschwartz10612 commented on GitHub (May 27, 2025):
Hi! It depends on how your target service is extracting the client IP. The actual IP of the packets from Newt will always be its IP because it is a TCP reverse proxy, but there are headers added by Traefik to provide the real client IP. For example, see the below output of an http GET request through Pangolin to
containous/whoami. TheX-Forwarded-ForandX-Real-Ipheaders provide the real client IP.@FirmYn commented on GitHub (May 28, 2025):
Thanks a lot, I was completely misunderstanding how it works !
@tuandatdavid commented on GitHub (Jun 7, 2025):
sorry, for reviving this old issue, but did you solve this? Or you just learned to live with it?
@oschwartz10612 commented on GitHub (Jun 8, 2025):
@tuandatdavid target application needs to be able to pull the IP out of the headers of the request. See above response.
This is usually mostly application specific and is hard to give a general answer for - sorry!