mmnaseri / nordvpn-reconnect

Reconnector for NordVPN client on Linux
21 stars 4 forks source link

[Suggestion] Reduce the default limit to 2 hours #4

Closed Dylan-86 closed 2 years ago

Dylan-86 commented 2 years ago

Hi, As to my direct experience, the connection on my end typically drops after 2 hours 30 minutes, give or take 15 minutes.

For this, I've set the timer to 2 hours and I would recommend this as a default value.

Note that the fist time that my connection stopped working I've tried to run nordvpnd-killer.sh but it didn't solve the situation. I had to reboot anyway.

Thanks, D

mmnaseri commented 2 years ago

So, maybe I should also document this better. Running nordvpnd-killer.sh doesn't automatically unlock your system. You have to run it, and drop a file asking it to kill the service. That script is meant to be a long-running process which can accommodate your need to unlock yourself at any time. So, run it as root with sudo or install it as a service and run that, and then ask it to kill the nordvpn daemon for you:

touch /tmp/nordvpnd-killer.ask
mmnaseri commented 2 years ago

Updated the default to 2 hours.