NetworkManager: connect to vpn when connecting to some networks

phcoder phcoder at gmail.com
Sun Oct 12 13:13:58 UTC 2008


Hello. When I connect to Wifi/plain network of my university I have to
use VPN(vpnc). So I want VPN connection to be automatically established
when I connect to this network. However I don't want to initialize VPN
tunnel when I connect to my WPA2 home network. Would it be possible to
configure VPN in NetworkManager to connect to VPN only when I connect to
some networks? With old debian system it was possible by writing
something like:
up vpnc
down vpnc-disconnect
to /etc/network/interfaces

Thanks
Vladimir Serbinenko




More information about the Ubuntu-devel-discuss mailing list