vpnmgr - Manage and update VPN Client configurations for NordVPN and PIA

Which VPN provider do you use?


  • Total voters
    91

Elmer

Regular Contributor
Using version 2 on Merlin .19 alpha2. When I go in to add a device to VPN setup by vpnmgr, I get an error saying I can't have -1 in the reconnect tries, it must be 0-99. Nice script. Thanks.
 

Jack Yaz

Part of the Furniture
Using version 2 on Merlin .19 alpha2. When I go in to add a device to VPN setup by vpnmgr, I get an error saying I can't have -1 in the reconnect tries, it must be 0-99. Nice script. Thanks.
I'm aware of some changes needed for 384.19, but I don't support alphas. When it becomes a beta I'll take a look. Alpha is early stage and things could change.
 

distilled

Regular Contributor
Any chance of supporting Mullvad VPN ? They ended their 3 hour trial last year, but I do month to month with them and change account numbers each time, so if it would help, I could just give you my number. It's got a few weeks left on it that you could use to test with.

 

ymom411

New Around Here
Really great script. Thank you. This started happening for me today. Am using nordvpn. Tried using the script to update clients and get the following:

Would you like to select a country (y/n)? y
/opt/bin/vpnmgr: line 2155: jq: not found

Please select a country:
column: /tmp/vpnmgr_countrylist: No such file or directory

If I use the webui under Vpn manager (2.1.0), I can set everything up (choose country and city) and I click Apply. From Vpn client tab, I choose service state to On, but the client is not configured. syslog shows the following:

Aug 3 19:12:00 vpnmgr: Updated settings from WebUI found, merging into /jffs/addons/vpnmgr.d/config
Aug 3 19:12:04 vpnmgr: Merge of updated settings from WebUI completed successfully
Aug 3 19:12:04 vpnmgr: Configuring scheduled update for VPN client 1
Aug 3 19:12:05 vpnmgr: Scheduled update created for VPN client 1
Aug 3 19:12:05 vpnmgr: Retrieving recommended VPN server using NordVPN API with below parameters
Aug 3 19:12:05 vpnmgr: Protocol: UDP - Type: Standard - Country: United States - City: Miami
Aug 3 19:12:07 vpnmgr: No VPN servers found for Miami, removing filter for city
Aug 3 19:12:07 vpnmgr: No VPN servers found for United States, removing filter for country
Aug 3 19:12:08 vpnmgr: Error contacting NordVPN API
Aug 3 19:12:08 vpnmgr: Configuring scheduled update for VPN client 2
Aug 3 19:12:09 vpnmgr: Scheduled update created for VPN client 2
Aug 3 19:12:09 vpnmgr: Retrieving recommended VPN server using NordVPN API with below parameters
Aug 3 19:12:09 vpnmgr: Protocol: UDP - Type: Standard - Country: United States - City: New York
Aug 3 19:12:10 vpnmgr: No VPN servers found for New York, removing filter for city
Aug 3 19:12:10 vpnmgr: No VPN servers found for United States, removing filter for country
Aug 3 19:12:11 vpnmgr: Error contacting NordVPN API

Once again, thanks for this script!
 

Jack Yaz

Part of the Furniture
Really great script. Thank you. This started happening for me today. Am using nordvpn. Tried using the script to update clients and get the following:

Would you like to select a country (y/n)? y
/opt/bin/vpnmgr: line 2155: jq: not found

Please select a country:
column: /tmp/vpnmgr_countrylist: No such file or directory

If I use the webui under Vpn manager (2.1.0), I can set everything up (choose country and city) and I click Apply. From Vpn client tab, I choose service state to On, but the client is not configured. syslog shows the following:

Aug 3 19:12:00 vpnmgr: Updated settings from WebUI found, merging into /jffs/addons/vpnmgr.d/config
Aug 3 19:12:04 vpnmgr: Merge of updated settings from WebUI completed successfully
Aug 3 19:12:04 vpnmgr: Configuring scheduled update for VPN client 1
Aug 3 19:12:05 vpnmgr: Scheduled update created for VPN client 1
Aug 3 19:12:05 vpnmgr: Retrieving recommended VPN server using NordVPN API with below parameters
Aug 3 19:12:05 vpnmgr: Protocol: UDP - Type: Standard - Country: United States - City: Miami
Aug 3 19:12:07 vpnmgr: No VPN servers found for Miami, removing filter for city
Aug 3 19:12:07 vpnmgr: No VPN servers found for United States, removing filter for country
Aug 3 19:12:08 vpnmgr: Error contacting NordVPN API
Aug 3 19:12:08 vpnmgr: Configuring scheduled update for VPN client 2
Aug 3 19:12:09 vpnmgr: Scheduled update created for VPN client 2
Aug 3 19:12:09 vpnmgr: Retrieving recommended VPN server using NordVPN API with below parameters
Aug 3 19:12:09 vpnmgr: Protocol: UDP - Type: Standard - Country: United States - City: New York
Aug 3 19:12:10 vpnmgr: No VPN servers found for New York, removing filter for city
Aug 3 19:12:10 vpnmgr: No VPN servers found for United States, removing filter for country
Aug 3 19:12:11 vpnmgr: Error contacting NordVPN API

Once again, thanks for this script!
Hm looks like jq has gone missing try running
Code:
opkg install jq
 

Jayson_Q

New Around Here
v2.1.0 is now available!

Changelog:


NEW: Add support for WeVPN (thanks to @Jayson_Q at WeVPN for setting up the ovpn archives!)
FIXED: Issues with country/city dropdown when changing provider
You did the hardwork @Jack Yaz. Kudos and credit goes to you! Thank you for making it happen.

@RMerlin also deserves a head nod for making me aware of the project. Thanks for emailing me and alerting me.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top