Enforce VPN connection to access the Internet

Posted by ch0wn on Ask Ubuntu See other posts from Ask Ubuntu or by ch0wn
Published on 2011-02-17T12:18:49Z Indexed on 2011/02/17 15:33 UTC
Read the original article Hit count: 356

Filed under:
|

I'm using a VPN when I'm online at an unencrypted wifi. Unfortunately, at my university the connection is quite unstable and at every reconnect the VPN connection is terminated and I manually need to reconnect to it using the NetworkManager, which obviously only works if I notice the reconnect. I enabled the option to automatically connect to the VPN in the NM options, but it seems to have no effect.

Is there a way to enforce an active VPN connection before any other application can access the network connection so I can be sure not to send private data over unencrypted connections?

Cheers, Pascal

© Ask Ubuntu or respective owner

Related posts about vpn

Related posts about networkmanager