Basic disconnect connect bash:
#!/bin/bash CON=[insert your nm vpn connection id here] nmcli con down uuid $CON sleep 4s nmcli con up uuid $CON
Get your connection id:
nmcli con list
Basic disconnect connect bash:
#!/bin/bash CON=[insert your nm vpn connection id here] nmcli con down uuid $CON sleep 4s nmcli con up uuid $CON
Get your connection id:
nmcli con list