Use nmcli command
[user1@localhost ~]$ nmcli c
NAME UUID TYPE DEVICE
eno1 c9----------91 802-3-ethernet eno1
virbr0 fb----------a3 bridge virbr0
Canada 67----------3d vpn --
US-East b3----------5a vpn --
United-Kingdom eb----------5f vpn --
[user1@localhost ~]$ nmcli c
NAME UUID TYPE DEVICE
eno1 c9----------91 802-3-ethernet eno1
virbr0 fb----------a3 bridge virbr0
Canada 67----------3d vpn --
US-East b3----------5a vpn --
United-Kingdom eb----------5f vpn --
[user1@localhost ~]$ nmcli c up b3----------5a
VPN connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/1)
[user1@localhost ~]$ nmcli c down b3----------5a
Connection 'US-East' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/1)
No comments:
Post a Comment