nm-l2tp / NetworkManager-l2tp

L2TP and L2TP/IPsec support for NetworkManager
GNU General Public License v2.0
486 stars 84 forks source link

how to use shell in terminal to connect vpn? #96

Closed jerryhero closed 5 years ago

jerryhero commented 5 years ago

Is there any way to use shell command to connect l2tp?I want to do some time test on connecting vpn.

dkosovic commented 5 years ago

Have a look at nmcli which is a command-line tool for controlling NetworkManager :

In particular, have a look at nmcli connection