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

    Changes ir /var/etc/openvpn/server1.conf not permanet

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 10.4k 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.
    • J Offline
      jaime.viyuela
      last edited by

      Hello.

      Investigating about the proble that I have here:

      https://forum.pfsense.org/index.php?topic=127391.0

      I have included a line in /var/etc/openvpn/server1.conf

      reneg-sec 36000

      to force the reneg to 10hours, and in the client file to

      reneg-sec 0

      The problem seems to be that everytime i have restarted the service, this line dissapear.

      Can you help me to make this changes permanents?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • H Offline
        heper
        last edited by

        Fill it in using the webgui.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jaime.viyuela
          last edited by

          where? cause in openvpn server I cannot see this option…

          thanks

          1 Reply Last reply Reply Quote 0
          • J Offline
            jaime.viyuela
            last edited by

            FOUND IT!!

            When you create a new vpn server or editting the actual, you can see almost at the end of the configuration:

            Advanced Configuration
            In Custom options you can add whatever you want, for example:  reneg-sec 36000

            THank you!

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