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

    DONT restart openvpn server after changing settings

    OpenVPN
    2
    2
    516
    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.
    • R
      richie1985
      last edited by

      Hi,

      we want to avoid automaticly restart openvpn server on our pfsense machine when we change some settings (like "push route ...." in Custom options).

      We want to schedule a restart of the openvpnserver during night. Thats not the Problem.

      So how can we avoid a restart? ;)

      Thx!

      Erik

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @richie1985
        last edited by

        @richie1985

        Easy : and I'll excuse upfront for the answer : set an alarm on whenever is "during night" and then do whatever you need to do.
        There is no such thing as "pre set" a setting, and have it taken in account at a pre determined (date) time.

        A openvpn server restart will disconnect all the connected users, I get it.

        If you 'really' need this possibility, there is only one solution :
        As the GUI handles everything that is 'settings' and 'functionality start' and 'functionality start' the good old "script it yourself" will work just fine ( open source means also IMHO : do what you want with your copy 😊 ).
        The good news or the bad news - whatever applies to you : it's just PHP.

        If not : go here - or here.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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