![]() Timeout 10s bash -c 'nordvpn status | grep -q "Status: Connected"'Įcho "$(date) Check failed, trying again in 10s"Įcho "$(date) Check failed again, starting VPN"Įcho "$(date) Reconnect failed, trying again in 30s"Įcho "$(date) Second reconnect failed, rebooting system" I've added this as a cronjob every 10 minutes. I've found that one NordVPN gets into this state, sometimes only a reboot helps. This script will check NordVPN connectivity status and will try to reconnect if it drops, or even (hard-)reboot the system if that fails. I paid for a year so I'm stuck with them for now, so I made this workaround on my VPN box, and I thought I'd share it here. After a few hours (5-10h), the VPN just stops working and nordvpn d or even nordvpn status just hang. I've had my fair share of problems with the nordvpn Linux CLI. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |