request_X-Real-Ip
random_username
PROOP

a month ago

When having a custom domain name to my service, i'm getting request_X-Real-Ip as 100.64.0.4 from the request (guessing railways load balancer internal ip), is this intended? tia

Solved

8 Replies

random_username
PROOP

a month ago

for debugging purposes request_Cf-Connecting-Ip provides the correct ip but i don't see any other headers such as X-Real-IP or X-Forwarded-For


brody
EMPLOYEE

a month ago

What does the real IP header show for you here?


random_username
PROOP

a month ago

My IP address, not the 100.64.0.4


random_username
PROOP

a month ago

request_X-Railway-Edge
railway/europe-west4-drams3a
request_X-Railway-Request-Id
y_QcpjUARQydLY2Jss7a6g
request_X-Real-Ip
100.64.0.4
request_X-Request-Start
1768170104322
time
2026-01-11T22:21:44Z

random_username
PROOP

a month ago

If you want to check out the trace of what i'm seeing;

  • cloudflare enabled on domain + proxy

  • domain set on service (traefik i use for ingress)

  • traefik service is seing above headers being passed ^


brody
EMPLOYEE

a month ago

You would want traefik to trust the proxy headers


random_username
PROOP

a month ago

Yes, worked it out now needed ipStratergy of depth to 2 also so it reads second ip address ❤️


brody
EMPLOYEE

a month ago

Awesome


Status changed to Solved brody about 1 month ago


Loading...