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

    Reset openvpn connection every day.

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 1.8k 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.
    • G
      grzmrc
      last edited by

      Hi,
      I'm using openvpn to connect some LAN network together, but one of them is behind an http proxy. sometimes, it happens that proxy drops down connection, so I can't reach that lan anymore. is there a way so pfsense can reset openvpn clint connection every day or two times a day?
      Thanks

      1 Reply Last reply Reply Quote 0
      • P
        pkwong
        last edited by

        Add the following into your advanced settings box for the VPN client.  Remember to end it with a semicolon.

        keepalive 10 30;

        It works fine.  If the server pushes a keepalive configuration, it will override the client, but at least it helps.

        -Percy
        http://swimminginthought.com

        When all else fails, don't blame the machine.  Blame your architecture.

        1 Reply Last reply Reply Quote 0
        • G
          grzmrc
          last edited by

          Thanks! It works

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