scripts/bash/usr-local-bin/nordvpn-off

19 lines
464 B
Plaintext
Raw Normal View History

2024-04-20 06:40:34 +02:00
#!/usr/bin/env bash
set -x
nordvpn set killswitch off
nordvpn set autoconnect off
2024-04-20 06:40:34 +02:00
nordvpn disconnect
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
sudo systemctl restart unbound.service
sudo systemctl restart systemd-resolved.service
sleep 5
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