nordvpn-off: add the IPv6 restoring sysctl here too

This commit is contained in:
Aminda Suomalainen 2024-05-10 18:17:37 +03:00
parent cf7e9c9e42
commit 1fd3516760
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ set -x
nordvpn set killswitch off
nordvpn set autoconnect off
nordvpn disconnect
# Explicitly restore IPv6
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
sudo systemctl stop nordvpnd.socket
sudo systemctl stop nordvpnd.service
sudo systemctl restart iwd.service