Ripshod
Very Senior Member
I'll tag @Viktor Jaep to this as it's in their interest.
Had some really wierd events this morning. All my IoT devices were offline, which was caused by my vpn failing to connect. This got me concerned about my VPS as I host my own VPN, but the VPS and VPN server were up and running fine (confirmed with a connection from my phone).
My VPN client on the router was down and contantly connecting but never actually making a connection.
So via ssh I loaded VPNMON and that was detecting my WAN was down, which it wasn't so suspecting a problem with the default 8.8.8.8 dns server I tested with 1.1.1.1, 9.9.9.9 and 208.67.222.222 and everything sorted itself out -even going back to 8.8.8.8 was fine. However, my vpn client wouldn't reconnect. After disabling the vpn monitor in VPNMON and reimporting the config file and the client was stable again. Went back to VPNMON and re-enabled monitoring of the VPN slot and everything was fine again.
So, should VPNMON mess up my VPN configuration in that way?
From VPNMON log:
This looped constantly,
From Router log:
Again this continued to loop. IPv6 was disabled at this point.
This was constantly repeated even though the WAN was up.
Is there any way to grab a more detailed log?
EDIT: I've decided to go for a full reinstall - "it's about time" I hear you say.
Had some really wierd events this morning. All my IoT devices were offline, which was caused by my vpn failing to connect. This got me concerned about my VPS as I host my own VPN, but the VPS and VPN server were up and running fine (confirmed with a connection from my phone).
My VPN client on the router was down and contantly connecting but never actually making a connection.
So via ssh I loaded VPNMON and that was detecting my WAN was down, which it wasn't so suspecting a problem with the default 8.8.8.8 dns server I tested with 1.1.1.1, 9.9.9.9 and 208.67.222.222 and everything sorted itself out -even going back to 8.8.8.8 was fine. However, my vpn client wouldn't reconnect. After disabling the vpn monitor in VPNMON and reimporting the config file and the client was stable again. Went back to VPNMON and re-enabled monitoring of the VPN slot and everything was fine again.
So, should VPNMON mess up my VPN configuration in that way?
From VPNMON log:
Code:
Jan 26 2024 09:36:24 ripshod VPNMON-R3[13487] - ERROR: WAN Connectivity Issue Detected
Jan 26 2024 09:36:30 ripshod VPNMON-R3[13487] - WARNING: WAN Link Detected -- Trying to reconnect/Reset VPN
Jan 26 2024 09:37:39 ripshod VPNMON-R3[14214] - WARNING: VPN1 has disconnected
Jan 26 2024 09:37:46 ripshod VPNMON-R3[14214] - INFO: VPN1 Connection Restarted - New Server: Custom
Jan 26 2024 09:38:06 ripshod VPNMON-R3[14214] - INFO: VPN Director Routing Service Restarted
Jan 26 2024 09:42:36 ripshod VPNMON-R3[13487] - ERROR: WAN Connectivity Issue Detected
Jan 26 2024 09:42:42 ripshod VPNMON-R3[13487] - WARNING: WAN Link Detected -- Trying to reconnect/Reset VPN
Jan 26 2024 09:43:14 ripshod VPNMON-R3[14214] - WARNING: VPN1 has disconnected
Jan 26 2024 09:43:21 ripshod VPNMON-R3[14214] - INFO: VPN1 Connection Restarted - New Server: Custom
Jan 26 2024 09:43:41 ripshod VPNMON-R3[14214] - INFO: VPN Director Routing Service Restarted
From Router log:
Code:
Jan 26 09:37:48 ripshod ovpn-client1[23088]: RESOLVE: Cannot resolve host address: Custom:31825 (Name or service not known)
Jan 26 09:37:48 ripshod ovpn-client1[23088]: RESOLVE: Cannot resolve host address: Custom:31825 (Name or service not known)
Jan 26 09:37:48 ripshod ovpn-client1[23088]: Could not determine IPv4/IPv6 protocol
Jan 26 09:37:48 ripshod ovpn-client1[23088]: SIGUSR1[soft,Could not determine IPv4/IPv6 protocol] received, process restarting
Jan 26 09:37:48 ripshod ovpn-client1[23088]: Restart pause, 1 second(s)
Jan 26 09:37:49 ripshod ovpn-client1[23088]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
This was constantly repeated even though the WAN was up.
Is there any way to grab a more detailed log?
EDIT: I've decided to go for a full reinstall - "it's about time" I hear you say.
Last edited: