Home > front end > How to get to the client on the server IP reality
How to get to the client on the server IP reality
Time:12-11
For example, someone on the client side of different provinces and cities of IP switch (refers to the number of IP paragraph a completely is not fixed, such as agent ip1:192.168. *. *, ip2 agent: 42.48. *. *) to vote to interference, so how to capture the true IP client machine?? For the great god answer!!!!!
CodePudding user response:
REMOTE_ADDR is one of the sites are link communication IP, unforgeable
If you added a CND before your site, that can take X - Forwarded - only For last 1 IP
If you added two CNDS before your site, it can only take X - Forwarded - For the second from bottom in the IP
If you added three CND before your website, it can only take X - Forwarded - For the third from bottom in the IP