Answer the question
In order to leave comments, you need to log in
Why is the IP of the mikrotik interface displayed in the nginx logs?
Hello gentlemen!
Tell me why this thing happens: There is an incoming Internet from the provider. One white IP X.X.36.218 comes with it and there is still
a small subnet X.X.41.241/28 in the vlan . Of course, they are combined into a bridge.
Everything is ok, everything works. BUT! Web server with nginx , which has IP X.X.41.247 in the logs displays incoming requests with X.X.41.241
What needs to be done to display client IPs?
I've already broken my head.
Point in the right direction.
Answer the question
In order to leave comments, you need to log in
Somewhere you are doing unnecessary NAT towards the server
Post /ip firewall nat export
Here it is: X.X.36.218 hangs on one port, this is X.X.41.241/28 on another. Of course, they are combined into a bridge.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question