Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to extract The IP of my PC when I'm connected to a VPN connection and surf internet?

By saying "IP of my PC" I mean the IP address of my system when I'm not connected to the VPN connection.

In general, is it possible for a website to determine whether I'm connected to a VPN connection or not when I'm visiting it? Does VPN connection cause additional data being sent or modify something in http header which is detectable?

Tell you the truth, I'm using VPN to connect to GoogleCode since it is banned for Iranian users. But even through a VPN connection from US, Google finds out that I'm connecting from Iran. So Google can find out about my location whether by determining my real IP address or maybe by my browser (Firefox4) when geo.Enabled is set to true.

Thank you.

share|improve this question
up vote 1 down vote accepted

It depends on your VPN Endpoint, is your VPN Endpoint in Iran or elsewhere? Google will see your VPN Endpoints IP Address.

Nothing additional is sent in the http header, if you are connecting through VPN. However you might want to checked your routing table to make sure that your data is going through the VPN and not through your default route (which may not be the vpn endpoint).

share|improve this answer
Thanks. By VPN Endpoint, do you mean VPN Server location? – Kamyar May 24 '11 at 9:09
yes VPN Server Location – freethinker May 24 '11 at 9:13
Then I guess Firefox has burned me! :p Thanks for the info. – Kamyar May 24 '11 at 9:19
well you could use a different browser which doesn't send geo information, and make sure that its the browser which is the issue. – freethinker May 24 '11 at 9:20
Just tested it. Yup! it's FF. Set geo.Enabled to false in about:config if you care... – Kamyar May 24 '11 at 9:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.