VPN keeps disconnecting
gregeeh last edited by
pfSense 2.3.4-RELEASE-p1 (amd64) running on a Mini PC.
I have configured pfSense OpenVPN to connect to my VPN Provider and it connects and works fine. Have also installed the Service Watchdog and set it to monitor OpenVPN. However, the VPN connection disconnects a couple of times each day and I just restart the service and it connects again. When it is not connected the Dashboard states it's Offline.
It happened again this morning and here are the logs:-
System Log Sep 30 09:37:04 pfsense.localdomain nginx: 2017/09/30 09:37:04 [error] 37365#100151: send() failed (54: Connection reset by peer) Sep 30 09:25:52 php-fpm 88433 /rc.openvpn: OpenVPN: One or more OpenVPN tunnel endpoints may have changed its IP. Reloading endpoints that may use vpn_gw. Sep 30 09:25:51 check_reload_status Reloading filter Sep 30 09:25:51 check_reload_status Restarting OpenVPN tunnels/interfaces Sep 30 09:25:51 check_reload_status Restarting ipsec tunnels Sep 30 09:25:51 check_reload_status updating dyndns vpn_gw Sep 30 08:38:09 sshlockout 35532 sshlockout/webConfigurator v3.0 starting up Sep 30 08:38:09 sshd 35120 Accepted keyboard-interactive/pam for admin from 192.168.10.13 port 50576 ssh2 Sep 30 08:29:33 pfsense.localdomain nginx: 2017/09/30 08:29:33 [error] 37687#100120: send() failed (54: Connection reset by peer) Sep 30 08:29:33 syslogd kernel boot file is /boot/kernel/kernel Sep 30 08:29:33 syslogd exiting on signal 15 Sep 30 08:29:33 check_reload_status Syncing firewall Sep 30 08:25:17 check_reload_status Syncing firewall Sep 30 08:25:17 check_reload_status Syncing firewall VPN Log Sep 30 09:27:24 openvpn 17735 RESOLVE: Cannot resolve host address: au2.vpn.ac: hostname nor servname provided, or not known Sep 30 09:27:07 openvpn 17735 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Sep 30 09:27:05 openvpn 17735 SIGUSR1[soft,ping-restart] received, process restarting Sep 30 09:27:05 openvpn 17735 [au2-4096] Inactivity timeout (--ping-restart), restarting Sep 30 09:20:31 openvpn 17735 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #101823 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Any ideas on what I can do to stop these disconnections would be appreciated.