Skip to content

Commit

Permalink
Merge pull request #8 from ViktorJp/develop
Browse files Browse the repository at this point in the history
Publish VPNMON-R3 v1.3.1
  • Loading branch information
ViktorJp authored Mar 16, 2024
2 parents b36f98c + 8d45e09 commit 9521848
Show file tree
Hide file tree
Showing 7 changed files with 4,644 additions and 260 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## VPNMON-R3 v1.2.3
## VPNMON-R3 v1.3.1
Asus-Merlin VPN Monitor R3
![image](https://github.com/ViktorJp/VPNMON-R3/assets/97465574/b7323648-5acc-4a8c-b96f-d9c7a9163d9e)
![image](https://github.com/ViktorJp/VPNMON-R3/assets/97465574/3553a0a0-c2c6-4e70-af4c-78ce9045d35a)

**EXECUTIVE SUMMARY:** VPNMON-R3 (vpnmon-r3.sh) is an all-in-one script that is optimized to maintain multiple VPN connections and is able to provide for the capabilities to randomly reconnect using a specified server list containing the servers of your choice. Special care has been taken to ensure that only the VPN connections you want to have monitored are tended to. This script will check the health of up to 5 VPN connections on a regular interval to see if monitored VPN connections are connected, and sends a ping to a host of your choice through each active connection. If it finds that a connection has been lost, it will execute a series of commands that will kill that single VPN client, and randomly picks one of your specified servers to reconnect to for each VPN client. It also monitors your WAN/Dual-WAN connection and drops back until your WAN connection comes back up to reconnect your VPN tunnels.

Expand Down
File renamed without changes.
9 changes: 9 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
v1.3.1 - (March 16, 2024)
- MINOR: AMTM Email Notification capabilities have been added thanks to @Martinski's shared email functions
library that he has made available. Once AMTM email (AMTM->em) has been configured, you can activate this
feature in VPNMON-R3. You have the ability to distinguish between receiving either success, failures or
both types of emails as it pertains to your WAN/VPN connectivity. An operations menu item has also been
added to quickly enable/disable this feature when needed.
- PATCH: Minor logic correction to a function that determined max server ping would every so often run
into issues with the info it got back from the ping command, and would display invalid operand errors.

v1.2.3 - (March 8, 2024)
- PATCH: Change to the logic for switching back and forth between the number of available slots. Will now
recreate the vr3timers.txt and vr3clients.txt, as they were not being refreshed when different selections
Expand Down
3 changes: 2 additions & 1 deletion enhancements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
To-Do:
- AMTM Email notifications on: WAN Restore, VPN Reconnections
- automatically unmonitor slot after X failed connections?
- Skynet whitelist your vpn ip server lists
- Possibility: Integrate KILLMON functionality if there is any interest in having better killswitch capabilities

Done:
- Skynet whitelist your vpn ip server lists
- ping reset > ms
- add ip address/host to log when it disconnects
- method: Get to usable operations menu before wan/vpn checks
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.3
1.3.1
Loading

0 comments on commit 9521848

Please sign in to comment.