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.
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.
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:
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...)