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

DONT restart openvpn server after changing settings

Scheduled Pinned Locked Moved OpenVPN
2 Posts 2 Posters 523 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.
  • R
    richie1985
    last edited by Apr 26, 2023, 12:55 PM

    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

    G 1 Reply Last reply Apr 26, 2023, 1:57 PM Reply Quote 0
    • G
      Gertjan @richie1985
      last edited by Apr 26, 2023, 1:57 PM

      @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
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received