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

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.
  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

Which VPN provider do you use?


  • Total voters
    177

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.
 

Jack Yaz

Part of the Furniture
Some new options added to the poll at the top of this thread...
 

Jack Yaz

Part of the Furniture
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
 

distilled

Senior Member
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.
 

laracroftonline

Regular Contributor
i use windscribe
 

Marin

Very Senior Member
Is there a way to retain the changes made to the script? When this script was nvpmgr, I was able to make changes and they would be saved. Now they don't. I was originally on the master branch. I changed last night to the "develop" branch and the changes saved and I was able to see them in the WebGUI.

This morning after I updated amtm, I noticed that the script had reverted back to the master branch and the changes had been reverted back to the original settings.

Any thoughts on how to retain the tweaks?

Thank you!
 

Marin

Very Senior Member
Is there a way to retain the changes made to the script? When this script was nvpmgr, I was able to make changes and they would be saved. Now they don't. I was originally on the master branch. I changed last night to the "develop" branch and the changes saved and I was able to see them in the WebGUI.

This morning after I updated amtm, I noticed that the script had reverted back to the master branch and the changes had been reverted back to the original settings.

Any thoughts on how to retain the tweaks?

Thank you!

figured it out - thanks
 

Jack Yaz

Part of the Furniture
Is there a way to retain the changes made to the script? When this script was nvpmgr, I was able to make changes and they would be saved. Now they don't. I was originally on the master branch. I changed last night to the "develop" branch and the changes saved and I was able to see them in the WebGUI.

This morning after I updated amtm, I noticed that the script had reverted back to the master branch and the changes had been reverted back to the original settings.

Any thoughts on how to retain the tweaks?

Thank you!
develop is currently set to master so the branches are equal
 

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.
this is fixed in 2.1.1 since 384.19 is now released officially
 

ajp2k14

Regular Contributor
Can't get it to connect to WeVpn. Any ideas?

Sep 4 19:55:34 ovpn-client1[32113]: Options error: If you use one of --cert or --key, you must use them both
Sep 4 19:55:34 ovpn-client1[32113]: Use --help for more information.
Sep 4 19:55:34 openvpn: Starting OpenVPN client 1 failed!
 

Jack Yaz

Part of the Furniture
Can't get it to connect to WeVpn. Any ideas?

Sep 4 19:55:34 ovpn-client1[32113]: Options error: If you use one of --cert or --key, you must use them both
Sep 4 19:55:34 ovpn-client1[32113]: Use --help for more information.
Sep 4 19:55:34 openvpn: Starting OpenVPN client 1 failed!
Can you send a screenshot of the VPN client configuration screen please?
 

ajp2k14

Regular Contributor
This one?
1599243409900.png
 

Similar threads

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