From 9c083f7fafd1ea436593763a22a3c0dda4fbadd4 Mon Sep 17 00:00:00 2001 From: Paul M Date: Sun, 1 Nov 2020 21:17:01 -0600 Subject: [PATCH] Update README.md Added initial readme content --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 4bacca8..c866cc2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,23 @@ # vpnwatch VPN Watching bash script for use with OpenVPN on Openwrt + + Standard bash script, requires bash install on OpenWrt + and monit to be installed and configured + + We assume a few things when this is called, first + that the VPN DNS (Expressvpn) is failing second + that a restart of openvpn will fix it + + Note the location of OpenVPN startup script assuming + its already setup and there + + Note location of startup script is /etc/init.d/openvpn + We assume the OpenVPN file used to configure this connection + also has script security set to 2 so we can use the up + and down scripts to force the DNS to swap. + + Make sure your wan port isn't setup for DHCP as some DHCP + setups can cause the DNS to reset from time to time + Your ISP's DHCP may not be a problem though as I only + encountered this when I had another router upstream +