JAX1337
Regular Contributor
Yes i do and it works fine , when i run in sshDo you have the screen utility installed?
but when i try to run it as sh services-start
gets this error , i can see in the logs that services start is being triggered .
Yes i do and it works fine , when i run in sshDo you have the screen utility installed?
You're not supposed to execute the services start file. The contents of this file will automatically run after the router is rebooted and services are started. So if you include The command that I sent you before, it will execute VPNMON-R2 using the screen utilityYes i do and it works fine , when i run in ssh
but when i try to run it as sh services-start
View attachment 42325
gets this error , i can see in the logs that services start is being triggered .
sadly no, its not running ,something else is wrong , i can see multiple active vpn clients . Once i manually run the script it works fineYou're not supposed to execute services start file. The contents of this file will automatically run after the router is rebooted and services are started. So if you include The command that I sent you before, it will execute VPNMON-R2 using the screen utility
Perhaps make sure that both the vpnmon-r2 script and the services start file are both marked as executable?sadly no, its not running ,something else is wrong , i can see multiple active vpn clients . Once i manually run the script it works fine
Logs don't even show it running the script now
Finally after 3 hours figured it out .Perhaps make sure that both the vpnmon-r2 script and the services start file are both marked as executable?
#!/bin/sh
sleep 60 && sh /jffs/scripts/vpnmon-r2.sh -screen # vpnmonitor
Fri Jul 1 01:53:45 GMT 2022 - VPNMON-R2 - API call made to update WAN city to Mumbai
Fri Jul 1 01:53:45 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Singapore
Fri Jul 1 01:54:00 GMT 2022 - VPNMON-R2 ----------> ERROR: Multiple VPN Client Connections detected - Executing VPN Reset
Fri Jul 1 01:54:00 GMT 2022 - VPNMON-R2 - Executing VPN Reset
Fri Jul 1 01:54:07 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections
Fri Jul 1 01:54:21 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Fri Jul 1 01:54:21 GMT 2022 - VPNMON-R2 - Randomly selected VPN2 Client ON
Fri Jul 1 01:54:21 GMT 2022 - VPNMON-R2 - VPN Reset Finished
Fri Jul 1 01:54:21 GMT 2022 - VPNMON-R2 - Resuming normal operations
Fri Jul 1 01:54:21 GMT 2022 - VPNMON-R2 ----------> WARNING: Average PING across VPN tunnel is higher than 100 ms - Executing VPN Reset
Fri Jul 1 01:54:21 GMT 2022 - VPNMON-R2 - Executing VPN Reset
Fri Jul 1 01:54:28 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections
Fri Jul 1 01:54:42 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Fri Jul 1 01:54:42 GMT 2022 - VPNMON-R2 - Randomly selected VPN1 Client ON
Fri Jul 1 01:54:42 GMT 2022 - VPNMON-R2 - VPN Reset Finished
Fri Jul 1 01:54:42 GMT 2022 - VPNMON-R2 - Resuming normal operations
Fri Jul 1 01:57:01 GMT 2022 - VPNMON-R2 - API call made to update WAN city to Mumbai
Fri Jul 1 01:57:02 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Singapore
Fri Jul 1 01:57:16 GMT 2022 - VPNMON-R2 ----------> ERROR: Multiple VPN Client Connections detected - Executing VPN Reset
Fri Jul 1 01:57:16 GMT 2022 - VPNMON-R2 - Executing VPN Reset
Fri Jul 1 01:57:21 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections
Fri Jul 1 01:57:35 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Fri Jul 1 01:57:35 GMT 2022 - VPNMON-R2 - Randomly selected VPN4 Client ON
Fri Jul 1 01:57:35 GMT 2022 - VPNMON-R2 - VPN Reset Finished
Fri Jul 1 01:57:35 GMT 2022 - VPNMON-R2 - Resuming normal operations
Fri Jul 1 01:57:35 GMT 2022 - VPNMON-R2 ----------> WARNING: Average PING across VPN tunnel is higher than 100 ms - Executing VPN Reset
Fri Jul 1 01:57:35 GMT 2022 - VPNMON-R2 - Executing VPN Reset
Fri Jul 1 01:57:40 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections
Fri Jul 1 01:57:54 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Fri Jul 1 01:57:54 GMT 2022 - VPNMON-R2 - Randomly selected VPN3 Client ON
Fri Jul 1 01:57:54 GMT 2022 - VPNMON-R2 - VPN Reset Finished
Fri Jul 1 01:57:54 GMT 2022 - VPNMON-R2 - Resuming normal operations
Fri Jul 1 01:59:10 GMT 2022 - VPNMON-R2 ----------> ERROR: Connection failed - Executing VPN Reset
Fri Jul 1 01:59:10 GMT 2022 - VPNMON-R2 - Executing VPN Reset
Fri Jul 1 01:59:15 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections
Fri Jul 1 01:59:28 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Fri Jul 1 01:59:28 GMT 2022 - VPNMON-R2 - Randomly selected VPN5 Client ON
Fri Jul 1 01:59:28 GMT 2022 - VPNMON-R2 - VPN Reset Finished
Fri Jul 1 01:59:28 GMT 2022 - VPNMON-R2 - Resuming normal operations
Fri Jul 1 02:00:32 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Amsterdam
Fri Jul 1 02:00:46 GMT 2022 - VPNMON-R2 ----------> WARNING: Average PING across VPN tunnel is higher than 100 ms - Executing VPN Reset
Fri Jul 1 02:00:46 GMT 2022 - VPNMON-R2 - Executing VPN Reset
Fri Jul 1 02:00:50 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections
Fri Jul 1 02:01:06 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Fri Jul 1 02:01:06 GMT 2022 - VPNMON-R2 - Randomly selected VPN4 Client ON
Fri Jul 1 02:01:06 GMT 2022 - VPNMON-R2 - VPN Reset Finished
Fri Jul 1 02:01:06 GMT 2022 - VPNMON-R2 - Resuming normal operations
Fri Jul 1 02:02:09 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Bangkok
Fri Jul 1 02:02:23 GMT 2022 - VPNMON-R2 ----------> WARNING: NordVPN Server Load is higher than 70% - Executing VPN Reset
Fri Jul 1 02:02:23 GMT 2022 - VPNMON-R2 - Executing VPN Reset
Fri Jul 1 02:02:27 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections
Fri Jul 1 02:02:41 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Fri Jul 1 02:02:41 GMT 2022 - VPNMON-R2 - Randomly selected VPN5 Client ON
Fri Jul 1 02:02:41 GMT 2022 - VPNMON-R2 - VPN Reset Finished
Fri Jul 1 02:02:41 GMT 2022 - VPNMON-R2 - Resuming normal operations
Fri Jul 1 02:02:41 GMT 2022 - VPNMON-R2 ----------> WARNING: Average PING across VPN tunnel is higher than 100 ms - Executing VPN Reset
Fri Jul 1 02:02:41 GMT 2022 - VPNMON-R2 - Executing VPN Reset
Fri Jul 1 02:02:46 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections
Fri Jul 1 02:03:00 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Fri Jul 1 02:03:00 GMT 2022 - VPNMON-R2 - Randomly selected VPN4 Client ON
Fri Jul 1 02:03:00 GMT 2022 - VPNMON-R2 - VPN Reset Finished
Fri Jul 1 02:03:00 GMT 2022 - VPNMON-R2 - Resuming normal operations
Fri Jul 1 02:04:03 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Bangkok
Fri Jul 1 02:04:17 GMT 2022 - VPNMON-R2 ----------> WARNING: NordVPN Server Load is higher than 70% - Executing VPN Reset
Fri Jul 1 02:04:17 GMT 2022 - VPNMON-R2 - Executing VPN Reset
Fri Jul 1 02:04:23 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections
Fri Jul 1 02:04:37 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Fri Jul 1 02:04:37 GMT 2022 - VPNMON-R2 - Randomly selected VPN5 Client ON
Fri Jul 1 02:04:37 GMT 2022 - VPNMON-R2 - VPN Reset Finished
Fri Jul 1 02:04:37 GMT 2022 - VPNMON-R2 - Resuming normal operations
Fri Jul 1 02:04:37 GMT 2022 - VPNMON-R2 ----------> WARNING: Average PING across VPN tunnel is higher than 100 ms - Executing VPN Reset
Fri Jul 1 02:04:37 GMT 2022 - VPNMON-R2 - Executing VPN Reset
Fri Jul 1 02:04:42 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections
Fri Jul 1 02:04:56 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Fri Jul 1 02:04:56 GMT 2022 - VPNMON-R2 - Randomly selected VPN4 Client ON
Fri Jul 1 02:04:56 GMT 2022 - VPNMON-R2 - VPN Reset Finished
Fri Jul 1 02:04:56 GMT 2022 - VPNMON-R2 - Resuming normal operations
Fri Jul 1 02:05:59 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Bangkok
Fri Jul 1 02:06:13 GMT 2022 - VPNMON-R2 ----------> WARNING: NordVPN Server Load is higher than 70% - Executing VPN Reset
Fri Jul 1 02:06:13 GMT 2022 - VPNMON-R2 - Executing VPN Reset
Fri Jul 1 02:06:17 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections
Fri Jul 1 02:06:31 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Fri Jul 1 02:06:31 GMT 2022 - VPNMON-R2 - Randomly selected VPN1 Client ON
Fri Jul 1 02:06:31 GMT 2022 - VPNMON-R2 - VPN Reset Finished
Fri Jul 1 02:06:31 GMT 2022 - VPNMON-R2 - Resuming normal operations
Fri Jul 1 02:06:31 GMT 2022 - VPNMON-R2 ----------> WARNING: Average PING across VPN tunnel is higher than 100 ms - Executing VPN Reset
Fri Jul 1 02:06:31 GMT 2022 - VPNMON-R2 - Executing VPN Reset
Fri Jul 1 02:06:36 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections
Fri Jul 1 02:06:50 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Fri Jul 1 02:06:50 GMT 2022 - VPNMON-R2 - Randomly selected VPN3 Client ON
Fri Jul 1 02:06:50 GMT 2022 - VPNMON-R2 - VPN Reset Finished
Fri Jul 1 02:06:50 GMT 2022 - VPNMON-R2 - Resuming normal operations
Fri Jul 1 02:07:53 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Singapore
It seems that the VPN servers you're trying to connect to are all hitting the rules that you have configured, which is why it is constantly resetting. Perhaps setting your load to 80, and your ping to 120?@Viktor Jaep
This is what i meant by the script taking some time to get a stable tunnel running , it happens rarely . In this case it took around 20 mins , dont know why it kept going back to VPN 4 and 5 after VPN 1 showed auth error , instead of trying 2 / 3
Code:Fri Jul 1 01:53:45 GMT 2022 - VPNMON-R2 - API call made to update WAN city to Mumbai Fri Jul 1 01:53:45 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Singapore Fri Jul 1 01:54:00 GMT 2022 - VPNMON-R2 ----------> ERROR: Multiple VPN Client Connections detected - Executing VPN Reset Fri Jul 1 01:54:00 GMT 2022 - VPNMON-R2 - Executing VPN Reset Fri Jul 1 01:54:07 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections Fri Jul 1 01:54:21 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank! Fri Jul 1 01:54:21 GMT 2022 - VPNMON-R2 - Randomly selected VPN2 Client ON Fri Jul 1 01:54:21 GMT 2022 - VPNMON-R2 - VPN Reset Finished Fri Jul 1 01:54:21 GMT 2022 - VPNMON-R2 - Resuming normal operations Fri Jul 1 01:54:21 GMT 2022 - VPNMON-R2 ----------> WARNING: Average PING across VPN tunnel is higher than 100 ms - Executing VPN Reset Fri Jul 1 01:54:21 GMT 2022 - VPNMON-R2 - Executing VPN Reset Fri Jul 1 01:54:28 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections Fri Jul 1 01:54:42 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank! Fri Jul 1 01:54:42 GMT 2022 - VPNMON-R2 - Randomly selected VPN1 Client ON Fri Jul 1 01:54:42 GMT 2022 - VPNMON-R2 - VPN Reset Finished Fri Jul 1 01:54:42 GMT 2022 - VPNMON-R2 - Resuming normal operations Fri Jul 1 01:57:01 GMT 2022 - VPNMON-R2 - API call made to update WAN city to Mumbai Fri Jul 1 01:57:02 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Singapore Fri Jul 1 01:57:16 GMT 2022 - VPNMON-R2 ----------> ERROR: Multiple VPN Client Connections detected - Executing VPN Reset Fri Jul 1 01:57:16 GMT 2022 - VPNMON-R2 - Executing VPN Reset Fri Jul 1 01:57:21 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections Fri Jul 1 01:57:35 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank! Fri Jul 1 01:57:35 GMT 2022 - VPNMON-R2 - Randomly selected VPN4 Client ON Fri Jul 1 01:57:35 GMT 2022 - VPNMON-R2 - VPN Reset Finished Fri Jul 1 01:57:35 GMT 2022 - VPNMON-R2 - Resuming normal operations Fri Jul 1 01:57:35 GMT 2022 - VPNMON-R2 ----------> WARNING: Average PING across VPN tunnel is higher than 100 ms - Executing VPN Reset Fri Jul 1 01:57:35 GMT 2022 - VPNMON-R2 - Executing VPN Reset Fri Jul 1 01:57:40 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections Fri Jul 1 01:57:54 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank! Fri Jul 1 01:57:54 GMT 2022 - VPNMON-R2 - Randomly selected VPN3 Client ON Fri Jul 1 01:57:54 GMT 2022 - VPNMON-R2 - VPN Reset Finished Fri Jul 1 01:57:54 GMT 2022 - VPNMON-R2 - Resuming normal operations Fri Jul 1 01:59:10 GMT 2022 - VPNMON-R2 ----------> ERROR: Connection failed - Executing VPN Reset Fri Jul 1 01:59:10 GMT 2022 - VPNMON-R2 - Executing VPN Reset Fri Jul 1 01:59:15 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections Fri Jul 1 01:59:28 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank! Fri Jul 1 01:59:28 GMT 2022 - VPNMON-R2 - Randomly selected VPN5 Client ON Fri Jul 1 01:59:28 GMT 2022 - VPNMON-R2 - VPN Reset Finished Fri Jul 1 01:59:28 GMT 2022 - VPNMON-R2 - Resuming normal operations Fri Jul 1 02:00:32 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Amsterdam Fri Jul 1 02:00:46 GMT 2022 - VPNMON-R2 ----------> WARNING: Average PING across VPN tunnel is higher than 100 ms - Executing VPN Reset Fri Jul 1 02:00:46 GMT 2022 - VPNMON-R2 - Executing VPN Reset Fri Jul 1 02:00:50 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections Fri Jul 1 02:01:06 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank! Fri Jul 1 02:01:06 GMT 2022 - VPNMON-R2 - Randomly selected VPN4 Client ON Fri Jul 1 02:01:06 GMT 2022 - VPNMON-R2 - VPN Reset Finished Fri Jul 1 02:01:06 GMT 2022 - VPNMON-R2 - Resuming normal operations Fri Jul 1 02:02:09 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Bangkok Fri Jul 1 02:02:23 GMT 2022 - VPNMON-R2 ----------> WARNING: NordVPN Server Load is higher than 70% - Executing VPN Reset Fri Jul 1 02:02:23 GMT 2022 - VPNMON-R2 - Executing VPN Reset Fri Jul 1 02:02:27 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections Fri Jul 1 02:02:41 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank! Fri Jul 1 02:02:41 GMT 2022 - VPNMON-R2 - Randomly selected VPN5 Client ON Fri Jul 1 02:02:41 GMT 2022 - VPNMON-R2 - VPN Reset Finished Fri Jul 1 02:02:41 GMT 2022 - VPNMON-R2 - Resuming normal operations Fri Jul 1 02:02:41 GMT 2022 - VPNMON-R2 ----------> WARNING: Average PING across VPN tunnel is higher than 100 ms - Executing VPN Reset Fri Jul 1 02:02:41 GMT 2022 - VPNMON-R2 - Executing VPN Reset Fri Jul 1 02:02:46 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections Fri Jul 1 02:03:00 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank! Fri Jul 1 02:03:00 GMT 2022 - VPNMON-R2 - Randomly selected VPN4 Client ON Fri Jul 1 02:03:00 GMT 2022 - VPNMON-R2 - VPN Reset Finished Fri Jul 1 02:03:00 GMT 2022 - VPNMON-R2 - Resuming normal operations Fri Jul 1 02:04:03 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Bangkok Fri Jul 1 02:04:17 GMT 2022 - VPNMON-R2 ----------> WARNING: NordVPN Server Load is higher than 70% - Executing VPN Reset Fri Jul 1 02:04:17 GMT 2022 - VPNMON-R2 - Executing VPN Reset Fri Jul 1 02:04:23 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections Fri Jul 1 02:04:37 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank! Fri Jul 1 02:04:37 GMT 2022 - VPNMON-R2 - Randomly selected VPN5 Client ON Fri Jul 1 02:04:37 GMT 2022 - VPNMON-R2 - VPN Reset Finished Fri Jul 1 02:04:37 GMT 2022 - VPNMON-R2 - Resuming normal operations Fri Jul 1 02:04:37 GMT 2022 - VPNMON-R2 ----------> WARNING: Average PING across VPN tunnel is higher than 100 ms - Executing VPN Reset Fri Jul 1 02:04:37 GMT 2022 - VPNMON-R2 - Executing VPN Reset Fri Jul 1 02:04:42 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections Fri Jul 1 02:04:56 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank! Fri Jul 1 02:04:56 GMT 2022 - VPNMON-R2 - Randomly selected VPN4 Client ON Fri Jul 1 02:04:56 GMT 2022 - VPNMON-R2 - VPN Reset Finished Fri Jul 1 02:04:56 GMT 2022 - VPNMON-R2 - Resuming normal operations Fri Jul 1 02:05:59 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Bangkok Fri Jul 1 02:06:13 GMT 2022 - VPNMON-R2 ----------> WARNING: NordVPN Server Load is higher than 70% - Executing VPN Reset Fri Jul 1 02:06:13 GMT 2022 - VPNMON-R2 - Executing VPN Reset Fri Jul 1 02:06:17 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections Fri Jul 1 02:06:31 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank! Fri Jul 1 02:06:31 GMT 2022 - VPNMON-R2 - Randomly selected VPN1 Client ON Fri Jul 1 02:06:31 GMT 2022 - VPNMON-R2 - VPN Reset Finished Fri Jul 1 02:06:31 GMT 2022 - VPNMON-R2 - Resuming normal operations Fri Jul 1 02:06:31 GMT 2022 - VPNMON-R2 ----------> WARNING: Average PING across VPN tunnel is higher than 100 ms - Executing VPN Reset Fri Jul 1 02:06:31 GMT 2022 - VPNMON-R2 - Executing VPN Reset Fri Jul 1 02:06:36 GMT 2022 - VPNMON-R2 - Killed all VPN Client Connections Fri Jul 1 02:06:50 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank! Fri Jul 1 02:06:50 GMT 2022 - VPNMON-R2 - Randomly selected VPN3 Client ON Fri Jul 1 02:06:50 GMT 2022 - VPNMON-R2 - VPN Reset Finished Fri Jul 1 02:06:50 GMT 2022 - VPNMON-R2 - Resuming normal operations Fri Jul 1 02:07:53 GMT 2022 - VPNMON-R2 - API call made to update VPN city to Singapore
that would get the job done , but the problem is VPN 1,2,3 are my primary ones based out of SNG . Their pings are always around 60-65 ms . I kept the other 2 as backup just incase if the whole SNG goes down , then it switches to either TH or NL servers, who's pings are always above 100 .It seems that the VPN servers you're trying to connect to are all hitting the rules that you have configured, which is why it is constantly resetting. Perhaps setting your load to 80, and your ping to 120?
Not to worry! I will try to come up with some working solution for you soon. I'll put some thought to it, but I will do my darndest to make sure that you get to have the best VPN experience possibleI know its just net picking , this script is already amazing , but the logic , if possible ,could be refined would be great
Thanks alot @Viktor Jaep again , for all the help
Not to worry! I will try to come up with some working solution for you soon. I'll put some thought to it, but I will do my darndest to make sure that you get to have the best VPN experience possible
That was beautiful. Thank you!Alrighty @iTyPsIDg ... and a beta for you! I've implemented your request above to the best of my ability. When you start the -config, it will ask you if you want to start from (1) default values, or (2) custom values based on an existing config file. From there, you can pretty much hit enter all the way down to keep all your custom values. Please let me know if I missed anything, OK? Would love to hear your thoughts!
Code:curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/VPNMON-R2/master/vpnmon-r2-1.9b2.sh" -o "/jffs/scripts/vpnmon-r2.sh" && chmod a+rx "/jffs/scripts/vpnmon-r2.sh"
What's new since v1.9b1?
* Totally revamped the -config process to either let you start from scratch with default values, or use already existing values that you have modified in your current config file. Great suggestion by @iTyPsIDg to prevent you from having to continually modify the same entries over and over when a new version comes out.
You can also create a launch script. I have some instructions here. https://www.snbforums.com/threads/r...tible-wan-aware-yazfi-aware.76748/post-763016sadly no, its not running ,something else is wrong , i can see multiple active vpn clients . Once i manually run the script it works fine
Logs don't even show it running the script now
I'm pretty sure it's roundtrip? From your router to your VPN exit server across the tunnel.That was beautiful. Thank you!
I have one question regarding the new ping feature. Is that roundtrip or one-way? I'm always out of the US and connecting to US VPNs, so I typically need higher values. For good VoIP calls, I need my max one-way delay to be 150ms and my max roundtrip delay to be 300ms. I'm trying to figure out if I should enter 150 or 300 in your prompt.
Bahaha. Can't recall when my wife and kids have complained about internet being down for a long time now as well. VPNMON-R2 is an essential part of a happy marriage. Lol.@Viktor Jaep your current branch is running very well . (i can say that for sure because the wife and kids have not complained about anything, in a loooonnngg time.)
Fri Jul 1 02:06:50 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Also, @JAX1337 ... I see a lot of these in your logs:
Code:Fri Jul 1 02:06:50 GMT 2022 - VPNMON-R2 ----------> ERROR: NordVPN.txt list is blank!
Please make sure that your NordVPN country name is spelled correctly? If it is, would you mind please sharing your /jffs/addons/vpnmon-r2.d/vpnmon-r2.cfg so I can understand why you're getting this error on a constant basis?
Ahhh @JAX1337 that makes sense. Yeah, I read they and ExpressVPN pulled out of India. To give you some hope, I've been working hard on this today... I have a little more testing to do, but I should be able to send this beta out for you to try! It basically gives you the ability to let it reset based on lowest pings to your configured VPN slots... I've been playing around quite a bit with it today, and if I didn't build some controls into it, it would be flipping back and forth every 60 seconds due to the servers competing with each other for lower pings. So I built a counter into it to prevent it from flipping around so much, and gives it 5 chances (configurable) before it actually makes a new connection to the fastest server.Nord had an Indian server, now they don't,
My country is turning into an authoritarian nightmare to live in. Looks like i will have to set it to SNG
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/VPNMON-R2/master/vpnmon-r2-1.9b3.sh" -o "/jffs/scripts/vpnmon-r2.sh" && chmod a+rx "/jffs/scripts/vpnmon-r2.sh"
On it , testingOK @JAX1337 ... please give this Beta 3 a try? Would love your feedback! If anyone else out there wants to send feedback - I'm all ears. Would love to hear from our Surfshark and Perfect Privacy friends as well!
Code:curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/VPNMON-R2/master/vpnmon-r2-1.9b3.sh" -o "/jffs/scripts/vpnmon-r2.sh" && chmod a+rx "/jffs/scripts/vpnmon-r2.sh"
Please make sure you step through the "-config" to address the 2 questions that affect your situation...
View attachment 42404
What's new since v1.9b2?
* ADDED: new functionality thanks to a suggestion from @JAX1337... this will let you be able to use VPNMON-R2 reset connections based on best speed/ping to your pre-configured VPN client slots. Going through the "-config", new question 5 will let you choose whether you want it to randomly pick, or use the lowest ping when choosing your VPN servers. In the process, the UI now shows average ping going to each of your configured slots, and will notify you on the bottom of the UI if it has found a better server to connect to. You have the option in question 5a to specify how many chances you would like your current VPN connection to deal with other servers that might have a lower ping, giving your current connection a chance to recover. I have found that if you have other servers configured in your vicinity, there's a chance they will compete with each other, which would be causing your connection to drop and reconnect to the "now" fastest server repeatedly. This configurable counter will help alleviate this behavior.
* CHANGED: reduced the amount of clutter that a reset produces on the screen, and is much less verbose, and looks much cleaner. Using on-screen indicators to show what's currently happening in the script. Will continue to refine these.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!