charts icon indicating copy to clipboard operation
charts copied to clipboard

Add Traefik plugin for Real IP

Open tweexter opened this issue 2 years ago • 3 comments

Is your feature request related to a problem?

Would like to be able to see the originating client IP that is connected via Cloudflare proxy + Traefik, rather than a middle "hop" CF proxy IP.

Describe the solution you'd like

This plugin appears to be a good candidate:

https://plugins.traefik.io/plugins/628c9f01108ecc83915d776c/traefik-real-ip

This is another great option specifically for cloudflare users as it bundles the cloudflare proxy IPs to accept traffic from:

https://plugins.traefik.io/plugins/62e97498e2bf06d4675b9443/real-ip-from-cloudflare-proxy-tunnel

Describe alternatives you've considered

You could turn off Cloudflare Proxy, but that kind of defeats the purpose :)

Additional context

No response

I've read and agree with the following

  • [X] I've checked all open and closed issues and my request is not there.
  • [X] I've checked all open and closed pull requests and my request is not there.

tweexter avatar Aug 23 '22 00:08 tweexter

This would also solve the issue of Origin IP not being passed when using Cloudflared tunnel, considering Cloudflared tunnel is an application offered by Truecharts as well.

jamesrchen avatar Aug 28 '22 16:08 jamesrchen

This would also solve the issue of Origin IP not being passed when using Cloudflared tunnel, considering Cloudflared tunnel is an application offered by Truecharts as well.

Please dont sneak in +1 issues. There really is not going to be put priority on things when people “fond” more usecases ;-)

PrivatePuffin avatar Aug 28 '22 18:08 PrivatePuffin

This would also solve the issue of Origin IP not being passed when using Cloudflared tunnel, considering Cloudflared tunnel is an application offered by Truecharts as well.

Please dont sneak in +1 issues. There really is not going to be put priority on things when people “fond” more usecases ;-)

Apologies for that, though, if you don't mind me asking, would a PR for this theoretically be viable? This matches my use-case fairly well and I'd like to try filing a PR if possible.

Thanks!

jamesrchen avatar Aug 28 '22 23:08 jamesrchen

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists

truecharts-admin avatar Feb 03 '23 13:02 truecharts-admin