mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 11:13:04 +03:00
8 lines
308 B
Bash
Executable file
8 lines
308 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# [[file:../../Guix.org::*+vpn-stop+][+vpn-stop+:1]]
|
|
CONN=$(nmcli -f NAME con show --active | grep -Ev "(.*docker.*|NAME|br-.*|veth.*|tun.*)" | sed 's/ *$//g')
|
|
echo "Connection: $CONN"
|
|
|
|
pkexec nmcli con modify "$CONN" ipv6.method auto
|
|
nmcli connection up "$CONN"
|
|
# +vpn-stop+:1 ends here
|