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

    Why does OpenVPN keep timing out?

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 2 Posters 1.1k 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.
    • A
      altiris
      last edited by

      I have OpenVPN setup on pfsense and I have a client that is hooked up with an ethernet, running linux mint 17, that connects to it. After about an hour or so (I leave things downloading/uploading then I go AFK) it times out. I have tried adding the reneg-sec 0 to my openvpn client conf but it still timedout today. I am using udp port 1194.

      Here is my openvpn client configuration

      dev tun
      persist-tun
      persist-key
      cipher AES-256-CBC
      auth SHA1
      tls-client
      client
      remote ExternalIPHERE 1194 udp
      lport 0
      verify-x509-name "pfrouter" name
      auth-user-pass
      auth-nocache
      reneg-sec 0
      ns-cert-type server
      comp-lzo adaptive
      

      ive commented out the certificate parts

      1 Reply Last reply Reply Quote 0
      • A
        altiris
        last edited by

        So….anyone have any ideas?

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

          a wilde guess: in your OVPN server, is the setting of "Client Settings >Dynamic IP" checked?

          4x XG-7100 (2xHA), 1x SG-4860, 1x SG-2100
          1x PC Engines APU2C4, 1x PC Engines APU1C4

          1 Reply Last reply Reply Quote 0
          • A
            altiris
            last edited by

            @bennyc:

            a wilde guess: in your OVPN server, is the setting of "Client Settings >Dynamic IP" checked?

            This setting "Allow connected clients to retain their connections if their IP address changes." No it is not checked. I wlll check it and see if that helps.

            1 Reply Last reply Reply Quote 0
            • A
              altiris
              last edited by

              Sadly this did not work

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