Help wanted - Reverse-Proxy (own ip) with real ip forwarded #12711
Replies: 2 comments 5 replies
-
How do you run the container? If you run with If the container is run as root you should always see the correct source ip by default, you do not need macvlan. |
Beta Was this translation helpful? Give feedback.
-
As of 2025, I was only able to get source IP by running Nginx (in my case Nginx Proxy Manager) in Network=host mode and accessing other containers via their PublishPort=127.0.0.1:hostport:containerpoirt |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I was getting along with a rootless reverse-proxy (nginx-proxy-manager) just fine, but ran into a scenario where I need to have the real client ip forwarded in (and the proxy ip different). I have tried to run this rootful via macvlan but have run into the issue where it cannot talk to the host and vice-versa.
What is the recommendation to setup this scenario?
Beta Was this translation helpful? Give feedback.
All reactions