Hi,
Just a quick update. This variable fixes the problem seeing as the firewall is acting as a proxy server for requests both leaving and coming to the webserver.
HTTP_X_FORWARDED_FOR
Thank you.
Thanks very much that gives me something to work with. REMOTE_ADDR in PHPinfo is just returning the firewall IP, so i'll have a play. I should be able to get it work by editing the config.php file.
Thanks again.
Jack.
Hi Community,
I'm currently setting up my forum which is behind a UTM firewall. It seems the code used to record a users IP in Xenforo is using something similar to the following:
$ip = $_SERVER['REMOTE_ADDR']
However, that will return the Firewall IP address and not the user.
I've got...