Owdy Posted June 24, 2015 Share Posted June 24, 2015 I moved servers. Now for some reason every user seems to come from same IP 10.0.0.2. What might be reason for that? Cant ban etc. Link to comment Share on other sites More sharing options...
Owdy Posted June 24, 2015 Author Share Posted June 24, 2015 Hmmm, host says 10.0.0.2 is our cluster address. Reason for that behive might be that code uses $_SERVER["REMOTE_ADDR"] for tracking ip, wich gives wrong info in lots of times. IP tracking should use $_SERVER['HTTP_X_FORWARDED_FOR'] How do i fix this? Link to comment Share on other sites More sharing options...
Sonya* Posted June 24, 2015 Share Posted June 24, 2015 I had similar behavior as I have moved and used reversed proxy while waiting for DNS update. The users came to the old server (according to old DNS entry) and the old server sent them to the new one via proxy. In the stats it looked like all users came from one IP. 48 hours later DNS was updated worldwide and stats were normal again. Link to comment Share on other sites More sharing options...
Owdy Posted June 24, 2015 Author Share Posted June 24, 2015 They are using that same ip in "Users online" list. Link to comment Share on other sites More sharing options...
AutoItScript Posted June 24, 2015 Share Posted June 24, 2015 In the ACP search for Security settings and try enabling this:Trust IP addresses provided by proxies? Link to comment Share on other sites More sharing options...
IveLeft... Posted June 24, 2015 Share Posted June 24, 2015 I moved servers. Now for some reason every user seems to come from same IP 10.0.0.2. What might be reason for that? Cant ban etc.TrySystem > Security > Security SettingsTick the box Trust IP Address's used by Proxies Link to comment Share on other sites More sharing options...
Owdy Posted June 24, 2015 Author Share Posted June 24, 2015 TrySystem > Security > Security SettingsTick the box Trust IP Address's used by Proxies Bingo!!! Thanks =) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.