News:

Wondering if this will always be free?  See why free is better.

Main Menu

Not able to get real IP of users

Started by user58389239, November 11, 2024, 12:48:10 PM

Previous topic - Next topic

user58389239

Hi,
We are running SMF 2.1.4. We are behind a Securi firewall at GoDaddy. All users are showing the Securi IP.

We went to Admin > Maintenance > Security and set "Reverse Proxy IP Header" to "X-Forwarded-For" which according to Securi documentation is the right setting to show client IP. But it didn't change anything.

Any other suggestions what we should try? Should we update the setting in the php.ini?

Aleksi "Lex" Kilpinen

That's a known issue #7684
The best solution I know would be to handle this on the server level, for example in Apache with mod_remoteip https://httpd.apache.org/docs/2.4/mod/mod_remoteip.html

Some discussion and possible solutions also in Reverse Proxy IP Header selection not working
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

user58389239

Ahh, I didn't realize it was a known issue. Yes I can do it the Apache mod_remoteip route. Thanks!

Advertisement: