VPN not re-establishing
-
Hi,
I am running into a problem with OpenVPN on my pfsense box as below. Any ideas or suggestions would be appreciated.
I currently have OpenVPN (2.1) running on windows server 2003 at the head office and pfsense (1.2) at a branch office. The branch office has a ADSL connection plugged into the wan network port on pfsense and the problem seems to be when the DSL modem looses power. Once this happens the VPN never re-establishes it's connection to the main office.
The logs indicate that the dropped connection has been detected and the connection is attempted, but never works. I have included the logs below. The following entries are repeated over and over again.
Nov 6 13:47:26 openvpn[292]: [UNDEF] Inactivity timeout (–ping-restart), restarting
Nov 6 13:46:56 openvpn[292]: UDPv4 link remote: 999.999.999.999:1195
Nov 6 13:46:56 openvpn[292]: UDPv4 link local (bound): [undef]:1194
Nov 6 13:46:56 openvpn[292]: LZO compression initialized
Nov 6 13:46:56 openvpn[292]: Re-using SSL/TLS context
Nov 6 13:46:56 openvpn[292]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Nov 6 13:46:54 openvpn[292]: SIGUSR1[soft,ping-restart] received, process restarting
Nov 6 13:46:54 openvpn[292]: [UNDEF] Inactivity timeout (–ping-restart), restartingNormally I would expect to see the following entry instead and then the rest of the setup entries:
Nov 7 15:43:32 openvpn[294]: [my.domain.com] Peer Connection Initiated with 999.999.999.999:1195Any assistance would be appreciated.
Regards. -
Have you got any logs from the Server 2003 side of things?
-
Hi,
There are no logs on the server for the times when it is trying to reconnect. It simply looks like it is unable to find that IP address on the client.
I can unplug the network cable from the WAN interface on the client and then re-connect it. The VPN then re-establishes itself fine. It only seems to be a problem when the ADSL modem restarts.
Thanks.
-
This is exactly what's happening to me as of now: i needed to reboot the adsl router at the office, then trying to connect to the vpn simply doesn't work and "inactivity timeout" pops up. In my case i'm trying to connect to the vpn manually via the windows openvpn gui, it always worked great and this is the first time i've got to reboot the adsl router so i never experienced this problem before..
Any clue on what it could be?