Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Getting Real IPs #4

Open
dharmendrakariya opened this issue Jun 22, 2021 · 0 comments
Open

Getting Real IPs #4

dharmendrakariya opened this issue Jun 22, 2021 · 0 comments

Comments

@dharmendrakariya
Copy link

dharmendrakariya commented Jun 22, 2021

Hey there, I have setup like below

Cloudflare -> LinodeLB -> Traefik(2.4 in k8s) -> Services

My question is even with the ProxyProtocol and Forwarded Headers flags I am getting very few ips and I guess they are not real client ips. (they might be the cloudflare or some other up head load balancer ips from linode data centres ), now as per your pluging

  1. do I have to enable cloudflare's Client-Real-IP
  2. also I am not having any dynamic config so will it be okay just to modify my static config
  3. also do I have to change my k8s manifest with your given example? or just the static config will work
  4. after these steps can I expect real ips(in very large amount of ips in my access logs)
  5. reason to ask all these is because I am going to implement this in prod

sorry to bother you like this(some may sound silly questions) but hoping the kind response

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant