Hii there,
Yea, the title may not really make any sense so let me explain.
I have a traefik proxy that proxies data to back-end applications.
let's say my router's WAN IP is 1.2.3.4 and its LAN IP is 10.0.0.1.
Now when I try to access something through the proxy, everything goes fine except one thing: My proxy thinks *everything* is 10.0.0.1 (even when I tell my machine to connect to 1.2.3.4).
This causes some apps behind the proxy to misbehave because they rely on the IP being the IP from the outside *not* the inside.
When I access it through my phones 4G (5.6.7.8), everything works perfectly fine.
So this is basically what I get:
- Phone connects through 4G: traefik sees as 5.6.7.8
- Desktop connects: traefik sees as 10.0.0.1
- Phone connects through wifi: traefik sees as 10.0.0.1
How can I make it so that if I access my proxy using the *external* IP, traefik sees the external IP, not the routers IP?