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

    OPENVPN 1 hour disconnect reneg-sec 0

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 568 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.
    • frogF
      frog
      last edited by

      Hi I am trying to implement the "reneg-sec 0" to disable reauth as I and using freeradius and MFA on googleauthenticator. The problem I have is I edit the /var/etc/openvpn/server1/openvpn.conf using the edit file option on the gui. I add the line and save. Then when I restart the openvpn service the entry is lost.

      I assume I'm editing the wrong one?

      dotdashD 1 Reply Last reply Reply Quote 0
      • dotdashD
        dotdash @frog
        last edited by

        @frog
        Don't edit the files directly, they get overwritten by the GUI. Instead add
        reneg-sec 0
        to the custom options box under advanced in the OpenVPN server config.

        frogF 1 Reply Last reply Reply Quote 1
        • frogF
          frog @dotdash
          last edited by

          @dotdash excellent thx. I'll try that.

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