3
votes
0answers
26 views

Connect to a VPN with a password from the commandline

I can trigger the start of connection to my VPN by saying nmcli con up id WORKVPN But I have an RSA SecurID that is part of the authentication, which means I can't store a password. Without a ...
2
votes
2answers
65 views

How can I keep vpn running even after exiting terminal?

I have a program that runs on Ubuntu (14.04) whether I am in the terminal or not. This program relies on a vpn connection, for which I am using vpnc (cisco). I have added vpnc to my reboot and start ...
1
vote
2answers
232 views

“Failed to setuid to root.” How do I Establish a VPN network?

My university decided that the old VPN-network, which worked fine, wasn't good enough anymore and abandoned it. Now I have to establish a completely new VPN-network. My university provided me with a ...
0
votes
1answer
223 views

Change VPN gateway with command line

Is there a way to change the gateway of an existant VPN connection with a command line? Changing the gateway value in the connection file with sed doesn't work for me. Thanks
1
vote
1answer
2k views

How do I confirm my VPN connection is working and make it start automatically on 12.04 server via commandline?

I'm using vyprvpn as a VPN provider and I would like to make my Ubuntu 12.04 server connect to it via pptp-linux. I only have the option of using the command line to connect so I used this guide: ...
3
votes
2answers
10k views

How To Initiate VPN From Terminal

Under "System" > "Preferences" > "Network Connections" I can create PPTP VPNs. This works when I am at a GUI, I can click the network connections icon in the top right, and select a VPN from the list ...
35
votes
1answer
35k views

Connect/disconnect from VPN from the command line

I have two VPNs setup on my Ubuntu machine, one using vpnc and one using PPTP. These were both setup using the GNOME network manager interfaces and work great. However on occasion I need to access ...