Timeout 5s bash -c 'nordvpn status | grep -q "Status: Connected"' Systemctl restart rvice | systemctl restart rvice I saved it as "nordvpn_boot.sh" to /etc so the filepath is "/etc/nordvpn_boot.sh": #!/bin/bash So, instead of giving up, I rolled my sleeves and went to battle.įirst, I found this nice bash script in this subreddit community. Timeout 5s nordvpn whitelist add ports 6881 6889 #BitTorrent Timeout 5s nordvpn whitelist add port 2302 #Halo Timeout 5s nordvpn whitelist add port 143 #IMAP4 Timeout 5s nordvpn whitelist add ports 443 445 #HTTP over SSL, MSFT DS ![]() Timeout 5s nordvpn whitelist add ports 137 139 #NetBIOS Timeout 5s nordvpn whitelist add subnet 192.168.0.0/24 #my local subnet # timeout 5s nordvpn s obfuscate off #ovpn only ![]() # timeout 5s nordvpn s protocol udp #ovpn only Timeout 5s nordvpn s technology NordLynx (or openvpn) ![]() Please note, I have tried every NordVPN setting in many diferent configurations in my script (below): I have tried every which way to stabilize the connection to at lest overnight but I found out when I ran a PING script that echoes the timestamp that the connection lasts roughly 3-4 hours at a time. I recently upgraded my Ubuntu headless server to 21.04 from 20.04 (don't ask me - I am adventorous) :Dīut I found out thereafter (of course) that NordVPN CLI client, which have worked flawlessly with 20.40, now is crappy and unstable in 21.04.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |