Reputation: 1458
How can I connect to a VPN Connection
when I can use only bash (terminal)?
I create a connection but I want to connect or disconnect using remote ssh connection
Upvotes: 8
Views: 13256
Reputation: 2949
Install the packages
sudo apt-get install vpnc network-manager-vpnc network-manager-vpnc-gnome
and then from bash you can try
vpnc-connect vpn.conf
you need to supply the vpn configuration file as argument.
Upvotes: 3
Reputation: 1458
you can use nmcli
to do that. this program is use for network management.
nmcli con up id <name_of_connection>
you need to save the password of that connection before you use this command. For more information, try man nmcli
any help on how to create VPN_CONNECTION in bash and how to manage them will appreciate
Upvotes: 13