What's new

VPNMON VPNMON-R3 v1.3.5 -May 11, 2024- Monitor WAN/Dual-WAN/VPN Health & Reset Multiple OpenVPN Connections (Now available in AMTM!)

  • 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!

That is the exact same time as others started reporting issues. Thank you!
Could it be related to what's discussed here?
I changed my custom config to what Viktor has here and my connection returned. I'm not sure if that was merely a timing issue though, due to the above issues others have been experiencing.
If you're using an old CURL statement to write servers to one of your VPN client slots in VPNMON-R3, then it may be coming back with zero/null. But there's a fix for that. Let us know what you're seeing on your end, what you're using, etc.

But Nord seems to be working fine for me today (US servers)...
The curl statement was still working. I managed to run that again and it still returned results.
 
That is the exact same time as others started reporting issues. Thank you!

I changed my custom config to what Viktor has here and my connection returned. I'm not sure if that was merely a timing issue though, due to the above issues others have been experiencing.

The curl statement was still working. I managed to run that again and it still returned results.
Glad you're up & running again! Perhaps just localized internet weather causing regional outages depending on where you are, or where your destination servers are located?
 
Last edited:
Glad you're up & running again! Perhaps just localized internet weather causing regional outages depending on where you are, or where your destination servers are located?
My current location is Medellín. My preferred servers are always in the US. This is my new curl command, just in case anyone else finds it useful.

Bash:
curl --silent --retry 3 --connect-timeout 3 --max-time 6 --retry-delay 1 --retry-all-errors "https://api.nordvpn.com/v1/servers/recommendations?filters\[country_id\]=228&limit=20" | jq --raw-output '.[].station'
 
Some small email-related fixes that rolled over from BACKUPMON... ;)

What's new?
v1.3.3 - (April 2, 2024)
- PATCH:
Fixed a small issue that was present in BACKUPMON and also affected VPNMON-R3 where it was creating success/failure emails in the /tmp/var/tmp folder and was not deleting these tmp email files if you opted not to receive success or failure emails. Thanks to the keen eye of @ExtremeFiretop watching his precious disk space slowly but surely getting eaten up with unsent emails that weren't deleting, this has now been patched! Also, huge props to him for testing out the fix in record time!
- PATCH: Made some small eye-candy improvements to incorporate a little splash-screen effect when running "vpnmon-r3 -setup", or when hitting the (e)xit key... just to keep the OG logo around a little longer. ;)

Download Link (or update directly within AMTM/VPNMON-R3):
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"
 
Last edited:
Small bugfix update to enjoy with your Saturday morning coffee... ;)

What's new?
v1.3.5 - (May 11, 2024)
- PATCH:
Small bugfix after looking into issues with the vr3timers.txt file. Seems that there was a variable and a function both named the same thing, which could cause an issue down the road, and made sure these were formally separated into their own entities from this point forward.
- PATCH: When the script has detected an issue with the WAN, and falls back into its waiting loop, I seem to have mistakenly put in an email notification during this time. I thought it was helpful. Guess not, because it doesn't work when the internet is down, and just throws errors, so I've removed this particular email notification. ;)

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"
 
Here is a ProtonVPN command that filters servers based on load by adding a condition.
It will grab servers with a load less than or equal to %20

Code:
select(.EntryCountry=="US" and .Load < 20)

Code:
curl --silent --retry 3 --connect-timeout 3 --max-time 6 --retry-delay 1 --retry-all-errors https://api.protonvpn.ch/vpn/logicals | jq --raw-output '.LogicalServers[] | select(.EntryCountry=="US" and .Load < 20) | .Servers[].EntryIP' | sort | uniq
 
Here is a ProtonVPN command that filters servers based on load by adding a condition.
It will grab servers with a load less than or equal to %20

Code:
select(.EntryCountry=="US" and .Load < 20)

Code:
curl --silent --retry 3 --connect-timeout 3 --max-time 6 --retry-delay 1 --retry-all-errors https://api.protonvpn.ch/vpn/logicals | jq --raw-output '.LogicalServers[] | select(.EntryCountry=="US" and .Load < 20) | .Servers[].EntryIP' | sort | uniq
I just ran this statement, and got 0 results. Guess ProtonVPN is BUSY today! Tried it with 50, and got a good set of results. Adding this to the set of instructions. ;)
 
Sorry for spamming the thread Viktor.

Here is a command that only shows Secure Core Servers for a given country using this list will enable Proton's secure server connections which is basically a multi-hop vpn connection more info at Secure Core

Code:
curl --silent --retry 3 --connect-timeout 3 --max-time 6 --retry-delay 1 --retry-all-errors https://api.protonvpn.ch/vpn/logicals | jq --raw-output '.LogicalServers[] | select(.EntryCountry != "US" and .ExitCountry == "US" and select(.Load < 50)) | .Servers[].EntryIP'

It checks if the EntryCountry is not equal to the ExitCountry and filters the ip which means it's a secure core server. Secure core servers are mostly located In Switzerland, Sweden and Iceland. You can confirm that by looking at the raw json api page at https://api.protonvpn.ch/vpn/logical

Finally if you get no results for the country of your choice try raising the .Load value since there's more demand on them.
 
Sorry for spamming the thread Viktor.
Feel free to post API-related VPN server list content in this thread here:

 
Feel free to post API-related VPN server list content in this thread here:

My bad didn't notice there was a dedicated thread for server list content I will post there In the future if I find anything useful.
 

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