Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    VPN not re-establishing

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 2.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Seraph
      last edited by

      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), restarting

      Normally 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:1195

      Any assistance would be appreciated.
      Regards.

      1 Reply Last reply Reply Quote 0
      • B
        Bern
        last edited by

        Have you got any logs from the Server 2003 side of things?

        1 Reply Last reply Reply Quote 0
        • S
          Seraph
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • M
            manuel
            last edited by

            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?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.