What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

VPNMON VPNMON-R3 v1.4.1 -Jul 2, 2025- Monitor WAN/Dual-WAN/OpenVPN Health & Reset Multiple OpenVPN Connections (Now available in AMTM!) Wireguard Alpha!

@Viktor Jaep Suggestion for a new feature - would it be possible to add an option to schedule the vpn server list update (Option U from the main menu), say daily or weekly etc.?
It seems NordVPN have been adding/removing servers in recent weeks, which then causes VPNMON to try and connect to a server which doesn't exist.
Hey @TITAN... it should automatically refresh the list if you have option #5 enabled, ie. when it resets your connection. You currently can schedule a reset anytime/frequency with a custom cronjob, or schedule for it to happen 1x a day from within VPNMON. Are you looking for the custom server list to refresh without a connection reset?

1738805665254.png
 
Hey @TITAN... it should automatically refresh the list if you have option #5 enabled, ie. when it resets your connection. You currently can schedule a reset anytime/frequency with a custom cronjob, or schedule for it to happen 1x a day from within VPNMON. Are you looking for the custom server list to refresh without a connection reset?

View attachment 63855
I think that's exactly what I want, I have now enabled it so let's see how I go
Thanks @Viktor Jaep
 
Not yet, but that is definitely on my to-do list... 😉

Hey - thanks so much for your "coffee" donation! I truly appreciate it! ♥️
I don't know if this will help in the process, but I found this yesterday and was able to modify it so that I can now use WireGuard to connect to my Dedicated IP with Nord.
 
I don't know if this will help in the process, but I found this yesterday and was able to modify it so that I can now use WireGuard to connect to my Dedicated IP with Nord.
It's strange but that guide was no help to me. How did you get the option to generate a new token? I can't find it anywhere.
 
It's strange but that guide was no help to me. How did you get the option to generate a new token? I can't find it anywhere.
Yeah, the process changed a little in the past year.

  1. Log into your Nord dashboard.
  2. Go to Manual Setup.
  3. Click Get Access Token.
    1741803151295.png
  4. Verify if needed (I have 2FA on, so I had to verify using the code sent via email).
  5. Generate a new token.
    1741803243868.png
  6. You only need the token for a short period of time to obtain your Private Key, so you can use a 30 day expiration.
    1741803328115.png
 
Yeah, the process changed a little in the past year.

  1. Log into your Nord dashboard.
  2. Go to Manual Setup.
  3. Click Get Access Token.
  4. Verify if needed (I have 2FA on, so I had to verify using the code sent via email).
  5. Generate a new token.
  6. You only need the token for a short period of time to obtain your Private Key, so you can use a 30 day expiration.
Wow, that was easy. Quick question. Do you know if there's a way to pass a specific city to the api to generate more local configs, ie the default for the uk is London, but I'm nowhere near there? I can get openvpn files more local and with a better ping. Right now I have 2 choices, better speed (great for upload/download) or better ping (great for gaming).
 
You should be able to use the exact same query you use for OVPN to narrow between types but then also include that you want WireGuard servers (which I think all are). With that, you can create your own. As an example, I took the default from that website which returned three conf files and modified only the Endpoint. Everything else stayed the same. This thread has a few tutorials on how to run various queries: https://www.snbforums.com/threads/v...list-generation-tutorials-and-examples.88022/
 
Could not load from AMTM. Entering vp did nothing. Probably broken.

Was able to add with this:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/VPNMON-R3/main/vpnmon-r3.sh" -o "/jffs/scripts/vpnmon-r3.sh" && chmod 755 "/jffs/scripts/vpnmon-r3.sh"
Just tried - I didn't have any issue. Just uninstalled VPNMON-R3 from my test router... used AMTM to install it with the 'vp' option. Subsequently was able to open it back up from AMTM with 'vp'. But glad to see you found a workaround to getting it installed! :)
 
Just tried - I didn't have any issue. Just uninstalled VPNMON-R3 from my test router... used AMTM to install it with the 'vp' option. Subsequently was able to open it back up from AMTM with 'vp'. But glad to see you found a workaround to getting it installed! :)
Sorry, The USB my swap file is on became disconnected. I think that was the reason
 
I don't know if this will help in the process, but I found this yesterday and was able to modify it so that I can now use WireGuard to connect to my Dedicated IP with Nord.
If I have time, I may start poking around your script, @Viktor Jaep, to see if I can figure out how to add WireGuard support. To save me time finding this again, it looks like everything needed is in nvram show | grep wgc. Just need to figure out how to restart it. Adding WireGuard support could significantly increase speeds over OpenVPN. I saw significant speed increases (WAN is 300/300) when switching to WireGuard.

1742930502045.png

1742930521878.png

1742930541514.png
 
If I have time, I may start poking around your script, @Viktor Jaep, to see if I can figure out how to add WireGuard support. To save me time finding this again, it looks like everything needed is in nvram show | grep wgc. Just need to figure out how to restart it. Adding WireGuard support could significantly increase speeds over OpenVPN. I saw significant speed increases (WAN is 300/300) when switching to WireGuard.



Now that I'm done with my CISSP, I plan on spending some time getting caught up on to-do items. This is definitely on my list! :) But don't let me stop you... if you come up with anything good, please submit any suggested changes to the develop branch on github, OK?
 
Now that I'm done with my CISSP, I plan on spending some time getting caught up on to-do items. This is definitely on my list! :) But don't let me stop you... if you come up with anything good, please submit any suggested changes to the develop branch on github, OK?
Sounds good. I would like to learn more about pull requests anyway. My current usage of git involves only projects I'm working on alone.

Also, CONGRATULATIONS! 🥂🎉
 
It's been a hot moment, but slowly getting back in the development saddle! Pleased to announce VPNMON-R3 v1.4.1 with additions/fixes highlighted below:

What's new?
v1.4.1 - (June 29, 2025)
- MINOR:
Added the capability of optionally integrating with spdMerlin, and having it refresh it's list of interfaces whenever VPNMON-R3 resets. This will allow spdMerlin to know which VPN interfaces are active for the purposes of running manual or automated speed tests. This option is available under the config as option #9 to enable/disable. Thanks to @iTyPsIDg for the suggestion!
- PATCH: Fixed the behavior of custom server lists that get updated through curl/API queries on a daily basis. There have been several times when either the VPN service API goes down, or the VPN service itself makes a major change on their end and stops supporting API calls altogether. (Yes, I'm looking at you Proton VPN!) <grr> When this happens, VPNMON-R3 runs its normal query, getting 0 results, and happily saves this 0 results file as your current list of available VPN servers to choose from, causing all kinds of mayhem. VPNMON-R3 will now recognize that the list is pooched, and will preserve the old good list filled with still perfectly fine VPN server IPs. This will now also generate log entries and will send you warning emails indicating which slot is causing the issue.

Download link (or update directly within VPNMON-R3 or AMTM):
Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/VPNMON-R3/main/vpnmon-r3.sh" -o "/jffs/scripts/vpnmon-r3.sh" && chmod 755 "/jffs/scripts/vpnmon-r3.sh"

Significant Screenshots:

The new spdMerlin integration is available to enable/disable within the configuration menu, option #9. Anytime VPNMON-R3 resets, it will call a spdMerlin command to reset its interfaces as to prevent any hiccups with it's automated or manual speed tests.
1751494005562.png



An example showing how a failed API query to your preferred VPN provider will preserve the last list of VPN server IPs, and won't overwrite it with a null list (as it did previously). This is noted in the logs, and you will receive an email indicating that this failure occurred.
1751494080714.png


Enjoy! :)
 
Also... as a little teaser for upcoming functionality... I've finally been get some time to play with Wireguard and get it up and running over the weekend. Been looking at NVRAM values, and should be able to get some basic Wireguard monitoring functionality within VPNMON-R3 going here pretty shortly! 👍
 
Also... as a little teaser for upcoming functionality... I've finally been get some time to play with Wireguard and get it up and running over the weekend. Been looking at NVRAM values, and should be able to get some basic Wireguard monitoring functionality within VPNMON-R3 going here pretty shortly! 👍

Good news indeed @Viktor Jaep - it was a sad day when I switched my VPN to Wireguard and had to leave VPNMON-R3 behind.
Maybe making a comeback soon!

:)
 
Excited! If you need any additional testers, let me know. I'm happy to oblige.
 
You read this right... We are now supporting WIREGUARD! Whoooo! :)

First early alpha of VPNMON-R3 v1.5.0 is available for anyone who wants to have fun... @iTyPsIDg @Stephen Harrington ;)

Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/VPNMON-R3/develop/vpnmon-r3.sh" -o "/jffs/scripts/vpnmon-r3.sh" && chmod 755 "/jffs/scripts/vpnmon-r3.sh"

* Operations Menu has been expanded to handle the Wireguard reset/reconnect/stop/unmonitor functionality.
* Enable/Disable (M)onitored VPN?WG slots is available to pick which WG slots you want to monitor/unmonitor
* Update/Maintain (V)PN/(W)G Server lists is WORKING. I have a set of 4 Wireguard servers that VPNMON-R3 can randomly pick from and connect to on a reset. More info below.
* Any kind of automation, ie. pulling live data from an API as we do with VPN at the moment is impossible... but maybe some day we can figure something out. We will need to rely on pre-configured server lists (as discussed more below).
* Various scenarios are functional to keep tabs on the WG connection and keep it connected, like being non-responsive, having an excessive ping or a handshake that isn't renewing timely. Huge thanks also to @ZebMcKayhan for his encouragement to dive into this long ago, and for providing some excellent methodologies in his WG watchdog script.

1752453126911.png


As stated above... I've configured 4 different Proton Wireguard servers and added them to the WG1 Server list. In order to be able to connect to another server, all it takes is 5 items entered into a single row, comma delimited.

When pressing (W)G Server Lists, you are presented with the 5 server list slots you can edit. Instructions on which fields are described in the INSTRUCTIONS section.

1752453480151.png


It would need to look something like this... example below:

Code:
ConnectionName,EndpointIP,EndpointPort,PrivateKey,PublicKey
City WG,143.32.55.23,34334,fasdkkfj44jafdja399ffkasdjfj=,221t949sfasdfjlkasdfj32323kf=

This information is something you would need to get from your VPN provider... in my case, Proton VPN. It provides an interface to pick a location (city), and a slew of available servers under each. You then download a .conf file for that particular server... open it up with your favorite text editor, and copy/paste this info into the VPNMON-R3 WG server list. Don't forget the commas!

Here's an example taken from my setup:

1752453854309.png


Disclaimer: Again, this is based off my experience with Proton Wireguard... I'm definitely curious to hear about your experience! :)

ENJOY! (I've definitely got more work/refining to do before beta/release...)
 
Last edited:

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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

Staff online

Back
Top