Firewall logging wrong IP behind proxy
-
Hi,
My server setup is to run WP on Apache, behind an nginx proxy server. In apache the correct client IP addresses are logged. However in the Ninja firewall log, it records all events as coming from the server IP, as that is the one passed by the proxy. This makes it hard to see which attacker is doing what.
Would it be possible to use the IP address from X-forwarded-for: of X-Real-IP: instead of the current setup?
Ideally this could be a configuration option, but I guess it wouldn’t be bad to double up and include both in the log where available.
The topic ‘Firewall logging wrong IP behind proxy’ is closed to new replies.