Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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.

Windows:

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

Linux:

ip route
ip -6 route
route

BSDs:

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

Your Answer

 
discard

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.