Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How To Track the Real IP Address Behind the Proxy

Tags:

php

How can we track the Real IP address behind the proxy using PHP?I mean a pure PHP implementation.Because they can turn off the js of their browsers.BTW when the JS is turn on I may use HTML 5 geolocation so I don't need the IP address to locate the user.

like image 533
spicykimchi Avatar asked Mar 18 '11 08:03

spicykimchi


People also ask

How do I find the IP address behind a proxy?

It may be possible for web-servers/websites to find the real IP while behind a proxy. Generally HTTP proxy servers, upon receiving a request from a client/user, append a new field (X-Forwarded-For) in the HTTP header and subsequently forward the request to the web-server.

How do you trace a proxy?

The only way to trace something through a proxy/VPN is to gain access to the logs kept by that proxy, normally by contacting the owner, giving them a time and IP that was accessed (beware of time zones), and asking them to find out who was connected to you at that time.

Can you find the real IP behind a VPN?

To answer your question first, the closest way you could get the VPN user's original IP address is in the event of a DNS leak. However, to be able to detect this information, you are going to need to host your website using your own DNS server. Not the ones provided by your hosting company or registrar.

How do you find out if I am behind a proxy?

Click the “Connections” tab in the Internet Options window. Click the “LAN Settings” button. If there is a check mark in the box next to the “Us a proxy server for your LAN” option, then your PC accesses the Web through a proxy server. If there is no check mark in the box, your computer does not use a proxy server.


1 Answers

You can look at the X-Forwarded-For HTTP header if one is sent, but there is no guaranteed way to know.

like image 113
Quentin Avatar answered Sep 28 '22 12:09

Quentin