Super User is a question and answer site for computer enthusiasts and power users. 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

Here's the scenario:

  • I am at a public cafe which offers free WIFI
  • I enabled VPN and I can connect / visit our company's wiki

My question is if I surf the Internet or check my gmail, would the traffic go through the VPN tunnel?

If yes, how do you prove it? If no, how can you safely surf the Internet / check your gmail through a public WIFI?

share|improve this question

Read the routing table of your OS (while connected) and check whether the "default gateway" or "default route" belongs to the cafe or to your company's network.


route print
netsh interface ip show route
netsh interf ipv6 show route


ip route
ip -6 route



All of the above:

netstat -r
share|improve this answer
Thanks for the reply. I did what you suggested and it belongs to the cafe. So how would I change all my Internet traffic such that it uses the VPN tunnel when I enable my VPN? – Carmen Sep 22 '11 at 23:27
That depends somewhat on the OS and the VPN software used. – grawity Sep 22 '11 at 23:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .