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

Which VPN provider do you use?


  • Total voters
    91

g1dtf

Occasional Visitor
@Jack Yaz been running v1 since release without problem. I use Nord is there any advantage updating to V2 , is the update mainly for PIA support or is there bugfixes / enhancements also.

Thanks Andy.
 

Jack Yaz

Part of the Furniture
@Jack Yaz been running v1 since release without problem. I use Nord is there any advantage updating to V2 , is the update mainly for PIA support or is there bugfixes / enhancements also.

Thanks Andy.
Some minor fixes and enhancements went in, but I can't think of any significant ones off the top of my head
 

Marin

Very Senior Member
I uninstalled NVPNMGR, rebooted and installed VPNMGR. After updating all my settings via CLI, I went to VPNMGR tab on WebUI and noticed at the very top of the page the version number shows as v2.0.0. But then right next to it there is also a line that states “updated version available v1.0.0.” Then next to it is the Update button.

Since v2.0.0 is the most up-to-date version could this mislead others to think that they need to need to update to v1.0.0?

Or is this something that I am only experiencing?
 

Jack Yaz

Part of the Furniture
I uninstalled NVPNMGR, rebooted and installed VPNMGR. After updating all my settings via CLI, I went to VPNMGR tab on WebUI and noticed at the very top of the page the version number shows as v2.0.0. But then right next to it there is also a line that states “updated version available v1.0.0.” Then next to it is the Update button.

Since v2.0.0 is the most up-to-date version could this mislead others to think that they need to need to update to v1.0.0?

Or is this something that I am only experiencing?
check via the cli, i suspect a variable wasn't updated during the reinstall (in /jffs/addons/custom_settings.txt)
 

Marin

Very Senior Member
I see that the local and server versions are different:


/jffs/addons/custom_settings.txt ntpmerlin_version_local v2.5.1
connmon_version_local v2.6.0
spdmerlin_version_local v3.6.1
uidivstats_version_local v2.2.1
uidivstats_version_server v2.2.1
vpnmgr_version_local v2.0.0
vpnmgr_version_server v1.0.0
Div_ver 4.1.12
Div_mode enabled
Div_edt Standard
Div_logt enabled
Div_log on
Div_ps pixelserv-tls
Div_bIP 192.168.50.2
Div_adb on
 

Jack Yaz

Part of the Furniture
I see that the local and server versions are different:


/jffs/addons/custom_settings.txt ntpmerlin_version_local v2.5.1
connmon_version_local v2.6.0
spdmerlin_version_local v3.6.1
uidivstats_version_local v2.2.1
uidivstats_version_server v2.2.1
vpnmgr_version_local v2.0.0
vpnmgr_version_server v1.0.0
Div_ver 4.1.12
Div_mode enabled
Div_edt Standard
Div_logt enabled
Div_log on
Div_ps pixelserv-tls
Div_bIP 192.168.50.2
Div_adb on
yes, hopefully uf will solve this
 

Marin

Very Senior Member
That’s what I will try! Thanks and have a good weekend!
 

DHLarson

Occasional Visitor
yes, hopefully uf will solve this
Tried both u and uf without success - see below

Don

Code:
ASUSWRT-Merlin RT-AC86U 384.17_0 Sun Apr 26 02:28:53 UTC 2020
[email protected]:/tmp/home/root# cat /jffs/addons/custom_settings.txt
nvpnmgr_version_local v1.0.0
nvpnmgr_version_server v1.0.0
[email protected]:/tmp/home/root# nvpnmgr

#########################################################
##                                                     ##
##  _ __ __   __ _ __   _ __   _ __ ___    __ _  _ __  ##
## | '_  \ \ / /| '_ \ | '_ \ | '_   _ \  / _  || '__| ##
## | | | |\ V / | |_) || | | || | | | | || (_| || |    ##
## |_| |_| \_/  | .__/ |_| |_||_| |_| |_| \__, ||_|    ##
##              | |                        __/ |       ##
##              |_|                       |___/        ##
##                                                     ##
##                  v1.0.0 on RT-AC86U                 ##
##                                                     ##
##         https://github.com/jackyaz/nvpnmgr          ##
##                forked from h0me5k1n                 ##
#########################################################

1.    List VPN client configurations

2.    Update configuration for a managed VPN client
3.    Search for new recommended server for a managed VPN client

4.    Enable management for a VPN client
5.    Disable management for a VPN client

6.    Update schedule for a VPN client configuration update
7.    Enable a scheduled VPN client configuration update
8.    Delete a scheduled VPN client configuration update

r.    Refresh country data

u.    Check for updates
uf.   Update nvpnmgr with latest version (force update)

e.    Exit nvpnmgr

z.    Uninstall nvpnmgr

#########################################################

Choose an option:    uf

nvpnmgr: Downloading latest version () of nvpnmgr

nvpnmgr: New version of nvpnmgr_www.asp downloaded

nvpnmgr: Mounting nvpnmgr WebUI page as user1.asp

#########################################################
##                                                     ##
##  _ __ __   __ _ __   _ __   _ __ ___    __ _  _ __  ##
## | '_  \ \ / /| '_ \ | '_ \ | '_   _ \  / _  || '__| ##
## | | | |\ V / | |_) || | | || | | | | || (_| || |    ##
## |_| |_| \_/  | .__/ |_| |_||_| |_| |_| \__, ||_|    ##
##              | |                        __/ |       ##
##              |_|                       |___/        ##
##                                                     ##
##                  v1.0.0 on RT-AC86U                 ##
##                                                     ##
##         https://github.com/jackyaz/nvpnmgr          ##
##                forked from h0me5k1n                 ##
#########################################################

1.    List VPN client configurations

2.    Update configuration for a managed VPN client
3.    Search for new recommended server for a managed VPN client

4.    Enable management for a VPN client
5.    Disable management for a VPN client

6.    Update schedule for a VPN client configuration update
7.    Enable a scheduled VPN client configuration update
8.    Delete a scheduled VPN client configuration update

r.    Refresh country data

u.    Check for updates
uf.   Update nvpnmgr with latest version (force update)

e.    Exit nvpnmgr

z.    Uninstall nvpnmgr

#########################################################

Choose an option:    u

nvpnmgr: New version of nvpnmgr_www.asp downloaded

nvpnmgr: Mounting nvpnmgr WebUI page as user1.asp

#########################################################
##                                                     ##
##  _ __ __   __ _ __   _ __   _ __ ___    __ _  _ __  ##
## | '_  \ \ / /| '_ \ | '_ \ | '_   _ \  / _  || '__| ##
## | | | |\ V / | |_) || | | || | | | | || (_| || |    ##
## |_| |_| \_/  | .__/ |_| |_||_| |_| |_| \__, ||_|    ##
##              | |                        __/ |       ##
##              |_|                       |___/        ##
##                                                     ##
##                  v1.0.0 on RT-AC86U                 ##
##                                                     ##
##         https://github.com/jackyaz/nvpnmgr          ##
##                forked from h0me5k1n                 ##
#########################################################

1.    List VPN client configurations

2.    Update configuration for a managed VPN client
3.    Search for new recommended server for a managed VPN client

4.    Enable management for a VPN client
5.    Disable management for a VPN client

6.    Update schedule for a VPN client configuration update
7.    Enable a scheduled VPN client configuration update
8.    Delete a scheduled VPN client configuration update

r.    Refresh country data

u.    Check for updates
uf.   Update nvpnmgr with latest version (force update)

e.    Exit nvpnmgr

z.    Uninstall nvpnmgr

#########################################################

Choose an option:    u

nvpnmgr: New version of nvpnmgr_www.asp downloaded

nvpnmgr: Mounting nvpnmgr WebUI page as user1.asp

[email protected]:/tmp/home/root# cat /jffs/addons/custom_settings.txt
nvpnmgr_version_local v1.0.0
nvpnmgr_version_server v1.0.0
 

faux123

Occasional Visitor
@Jack Yaz thanks for the wonderful add-ons and shell scripts. I'm using many of your work. 1 quick question slightly off-topic, do you use any IDE to develop your ASP code (I've never written ASP before)? If you do can you recommend the one you used if any? Thanks in advance.
 

Marin

Very Senior Member
Tried both u and uf without success - see below

Don

Code:
ASUSWRT-Merlin RT-AC86U 384.17_0 Sun Apr 26 02:28:53 UTC 2020
[email protected]:/tmp/home/root# cat /jffs/addons/custom_settings.txt
nvpnmgr_version_local v1.0.0
nvpnmgr_version_server v1.0.0
[email protected]:/tmp/home/root# nvpnmgr

#########################################################
##                                                     ##
##  _ __ __   __ _ __   _ __   _ __ ___    __ _  _ __  ##
## | '_  \ \ / /| '_ \ | '_ \ | '_   _ \  / _  || '__| ##
## | | | |\ V / | |_) || | | || | | | | || (_| || |    ##
## |_| |_| \_/  | .__/ |_| |_||_| |_| |_| \__, ||_|    ##
##              | |                        __/ |       ##
##              |_|                       |___/        ##
##                                                     ##
##                  v1.0.0 on RT-AC86U                 ##
##                                                     ##
##         https://github.com/jackyaz/nvpnmgr          ##
##                forked from h0me5k1n                 ##
#########################################################

1.    List VPN client configurations

2.    Update configuration for a managed VPN client
3.    Search for new recommended server for a managed VPN client

4.    Enable management for a VPN client
5.    Disable management for a VPN client

6.    Update schedule for a VPN client configuration update
7.    Enable a scheduled VPN client configuration update
8.    Delete a scheduled VPN client configuration update

r.    Refresh country data

u.    Check for updates
uf.   Update nvpnmgr with latest version (force update)

e.    Exit nvpnmgr

z.    Uninstall nvpnmgr

#########################################################

Choose an option:    uf

nvpnmgr: Downloading latest version () of nvpnmgr

nvpnmgr: New version of nvpnmgr_www.asp downloaded

nvpnmgr: Mounting nvpnmgr WebUI page as user1.asp

#########################################################
##                                                     ##
##  _ __ __   __ _ __   _ __   _ __ ___    __ _  _ __  ##
## | '_  \ \ / /| '_ \ | '_ \ | '_   _ \  / _  || '__| ##
## | | | |\ V / | |_) || | | || | | | | || (_| || |    ##
## |_| |_| \_/  | .__/ |_| |_||_| |_| |_| \__, ||_|    ##
##              | |                        __/ |       ##
##              |_|                       |___/        ##
##                                                     ##
##                  v1.0.0 on RT-AC86U                 ##
##                                                     ##
##         https://github.com/jackyaz/nvpnmgr          ##
##                forked from h0me5k1n                 ##
#########################################################

1.    List VPN client configurations

2.    Update configuration for a managed VPN client
3.    Search for new recommended server for a managed VPN client

4.    Enable management for a VPN client
5.    Disable management for a VPN client

6.    Update schedule for a VPN client configuration update
7.    Enable a scheduled VPN client configuration update
8.    Delete a scheduled VPN client configuration update

r.    Refresh country data

u.    Check for updates
uf.   Update nvpnmgr with latest version (force update)

e.    Exit nvpnmgr

z.    Uninstall nvpnmgr

#########################################################

Choose an option:    u

nvpnmgr: New version of nvpnmgr_www.asp downloaded

nvpnmgr: Mounting nvpnmgr WebUI page as user1.asp

#########################################################
##                                                     ##
##  _ __ __   __ _ __   _ __   _ __ ___    __ _  _ __  ##
## | '_  \ \ / /| '_ \ | '_ \ | '_   _ \  / _  || '__| ##
## | | | |\ V / | |_) || | | || | | | | || (_| || |    ##
## |_| |_| \_/  | .__/ |_| |_||_| |_| |_| \__, ||_|    ##
##              | |                        __/ |       ##
##              |_|                       |___/        ##
##                                                     ##
##                  v1.0.0 on RT-AC86U                 ##
##                                                     ##
##         https://github.com/jackyaz/nvpnmgr          ##
##                forked from h0me5k1n                 ##
#########################################################

1.    List VPN client configurations

2.    Update configuration for a managed VPN client
3.    Search for new recommended server for a managed VPN client

4.    Enable management for a VPN client
5.    Disable management for a VPN client

6.    Update schedule for a VPN client configuration update
7.    Enable a scheduled VPN client configuration update
8.    Delete a scheduled VPN client configuration update

r.    Refresh country data

u.    Check for updates
uf.   Update nvpnmgr with latest version (force update)

e.    Exit nvpnmgr

z.    Uninstall nvpnmgr

#########################################################

Choose an option:    u

nvpnmgr: New version of nvpnmgr_www.asp downloaded

nvpnmgr: Mounting nvpnmgr WebUI page as user1.asp

[email protected]:/tmp/home/root# cat /jffs/addons/custom_settings.txt
nvpnmgr_version_local v1.0.0
nvpnmgr_version_server v1.0.0

Works fine here after doing “uf”
 

DHLarson

Occasional Visitor
@DHLarson try now please
So, update ran but some glitches.

First:

[email protected]:/tmp/home/root# cat /jffs/addons/custom_settings.txt
vpnmgr_version_local v2.0.0
vpnmgr_version_server v1.0.0

I assume these should be the same...

Second:

Menu tab for VPN Mgr didn't appear. Only other addon with menu - Skynet tab is appearing fine. Per previous conversation, ran the following:

[email protected]:/tmp/home/root# ls -la /tmp/menuTree.js
-rw-rw-r-- 1 xxx root 21585 Jul 25 14:32 /tmp/menuTree.js

Which was after I rebooted the router after the upgrade. In reviewing the syslog, I see:

Jul 25 14:30:50 vpnmgr: Mounting vpnmgr WebUI page as user1.asp

but then, 2 minutes later:

Jul 25 14:32:41 Skynet: Mounting Skynet Web Page As user1.asp

So, where does this get fixed? I installed NVPNMGR first, followed by SKYNET. When I updated to VPNMGR, SKYNET appears to be overwriting it.

I tried restarting VPNMGR and here's what happened:

[email protected]:/tmp/home/root# vpnmgr startup
vpnmgr: Sleeping for 30s before running startup routine

/opt/bin/vpnmgr: line 2177: can't open /jffs/addons/vpnmgr.d/vpnmgr_www.asp: no such file
vpnmgr: Mounting vpnmgr WebUI page as user2.asp

cp: can't stat '/jffs/addons/vpnmgr.d/vpnmgr_www.asp': No such file or directory
[email protected]:/tmp/home/root# ls -la /tmp/menuTree.js
-rw-rw-r-- 1 xxx root 21629 Jul 25 15:28 /tmp/menuTree.js

Consequently, the tab is now present in the menu but you get a 404 Not Found error

Suggestions to fixing the Skynet overwrite and resolving the missing asp file?
 

DHLarson

Occasional Visitor
So, update ran but some glitches.

First:

[email protected]:/tmp/home/root# cat /jffs/addons/custom_settings.txt
vpnmgr_version_local v2.0.0
vpnmgr_version_server v1.0.0

I assume these should be the same...

Second:

Menu tab for VPN Mgr didn't appear. Only other addon with menu - Skynet tab is appearing fine. Per previous conversation, ran the following:

[email protected]:/tmp/home/root# ls -la /tmp/menuTree.js
-rw-rw-r-- 1 xxx root 21585 Jul 25 14:32 /tmp/menuTree.js

Which was after I rebooted the router after the upgrade. In reviewing the syslog, I see:

Jul 25 14:30:50 vpnmgr: Mounting vpnmgr WebUI page as user1.asp

but then, 2 minutes later:

Jul 25 14:32:41 Skynet: Mounting Skynet Web Page As user1.asp

So, where does this get fixed? I installed NVPNMGR first, followed by SKYNET. When I updated to VPNMGR, SKYNET appears to be overwriting it.

I tried restarting VPNMGR and here's what happened:

[email protected]:/tmp/home/root# vpnmgr startup
vpnmgr: Sleeping for 30s before running startup routine

/opt/bin/vpnmgr: line 2177: can't open /jffs/addons/vpnmgr.d/vpnmgr_www.asp: no such file
vpnmgr: Mounting vpnmgr WebUI page as user2.asp

cp: can't stat '/jffs/addons/vpnmgr.d/vpnmgr_www.asp': No such file or directory
[email protected]:/tmp/home/root# ls -la /tmp/menuTree.js
-rw-rw-r-- 1 xxx root 21629 Jul 25 15:28 /tmp/menuTree.js

Consequently, the tab is now present in the menu but you get a 404 Not Found error

Suggestions to fixing the Skynet overwrite and resolving the missing asp file?
Reran the UF option and, wonder of wonders, things seem to be OK. Gonna let it settle for a little while then try again with a reboot. But seem to be on V2 code with both Skynet and VPNMGR tabs appearing and functional. Not sure what went south but it seems to have self resolved.
 

Jayson_Q

New Around Here
Hi @Jack Yaz

I was referred to the thread by RMerlin (as we've spoken since my days working at PIA) and I would like to suggest WeVPN be added as well.
I'm the CXO and anything information which you need can easily be supplied.
 

Jack Yaz

Part of the Furniture
Hi @Jack Yaz

I was referred to the thread by RMerlin (as we've spoken since my days working at PIA) and I would like to suggest WeVPN be added as well.
I'm the CXO and anything information which you need can easily be supplied.
Interesting, I've not heard of WeVPN. Are the OVPN files publicly accessible?
 

Jayson_Q

New Around Here
Interesting, I've not heard of WeVPN. Are the OVPN files publicly accessible?
WeVPN is a new VPN launched (April 2020) and built by veterans of the VPN industry. Myself I was the Senior Vice President of PIA for 3 years before I left in March 2019. I've made a public article explaining who are the people behind WeVPN if that helps.

We do not have static OVPN files, however we do have a Config Generator within our members area (which offers OpenVPN 2.3 (for Synology devices), OpenVPN 2.4 (our standard) and Wireguard config generators). If you need files exported, I can easily create you a test account, though we offer a 7 day free trial for customers who sign up using either Google Play or Apple Store with the credentials being used without issue on other platforms such as routers, Windows, MacOS etc. Additionally, we have a 30 day refund policy.

If you want to email me directly, you can do so and I will set you up with a testing account (which I like to offer all people who we work with for technical testing). My email is Jayson (at) wevpn (dotcom)
 

Jack Yaz

Part of the Furniture
WeVPN is a new VPN launched (April 2020) and built by veterans of the VPN industry. Myself I was the Senior Vice President of PIA for 3 years before I left in March 2019. I've made a public article explaining who are the people behind WeVPN if that helps.

We do not have static OVPN files, however we do have a Config Generator within our members area (which offers OpenVPN 2.3 (for Synology devices), OpenVPN 2.4 (our standard) and Wireguard config generators). If you need files exported, I can easily create you a test account, though we offer a 7 day free trial for customers who sign up using either Google Play or Apple Store with the credentials being used without issue on other platforms such as routers, Windows, MacOS etc. Additionally, we have a 30 day refund policy.

If you want to email me directly, you can do so and I will set you up with a testing account (which I like to offer all people who we work with for technical testing). My email is Jayson (at) wevpn (dotcom)
I'll send you an email shortly. My immediate concern is how the script/router would be able to generate/obtain the OpenVPN configuration. Is the config generator an API, that I could access via an authenticated request?
 

Jayson_Q

New Around Here
I'll send you an email shortly. My immediate concern is how the script/router would be able to generate/obtain the OpenVPN configuration. Is the config generator an API, that I could access via an authenticated request?
You tell us what you need and we'll make it happen...
 

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