2024-04-20 06:40:34 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -x
|
|
|
|
nordvpn set killswitch off
|
2024-04-24 10:08:06 +02:00
|
|
|
nordvpn set autoconnect off
|
2024-04-20 06:40:34 +02:00
|
|
|
nordvpn disconnect
|
2024-05-10 17:17:37 +02:00
|
|
|
# Explicitly restore IPv6
|
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
2024-04-20 06:40:34 +02:00
|
|
|
sudo systemctl stop nordvpnd.socket
|
|
|
|
sudo systemctl stop nordvpnd.service
|
|
|
|
sudo systemctl restart iwd.service
|
|
|
|
sudo systemctl restart systemd-networkd.service
|
2024-04-20 10:56:32 +02:00
|
|
|
sleep 5
|
2024-05-10 17:21:45 +02:00
|
|
|
#sudo systemctl restart unbound.service
|
|
|
|
sudo unbound-control reload
|
|
|
|
#sudo systemctl restart systemd-resolved.service
|
|
|
|
sudo resolvectl flush-caches
|
2024-05-10 17:31:26 +02:00
|
|
|
#sleep 5
|
2024-04-27 11:20:05 +02:00
|
|
|
sudo systemctl restart yggdrasil.service
|
2024-04-20 10:56:32 +02:00
|
|
|
sudo chronyc online
|
2024-04-27 11:18:52 +02:00
|
|
|
sudo systemctl restart tor.service
|
2024-04-20 06:40:34 +02:00
|
|
|
set +x
|