goulov / nordconn

Simple NordVPN client
2 stars 0 forks source link

fix server updates #2

Open goulov opened 2 years ago

goulov commented 2 years ago

The client breaks when it attempts to connect to a new (recommended) server, for which it doesn't have the .ovpn files (https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip), which happens when nordvpn updates their servers.

It can be fixed by auto downloading when this happens or by giving a warning and instructions to wget+extract the zip manually.

goulov commented 2 years ago

update weekly:


0 0 * * 0       cd /etc/openvpn/nordvpn/; wget https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip; unzip -o ovpn.zip; rm ovpn.zip; echo -n "updated nord servers on: " >> /etc/openvpn/nordvpn/updateservers.log; date >> /etc/openvpn/nordvpn/updateservers.log```