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

    RESTART OpenVPN

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 3 Posters 2.2k 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.
    • N
      Nazilus
      last edited by

      Hi guy, a bit question here. I'm using Sharekey system, everything work fine.
      i got 1 HQ and 2 Branch. one is in B Country. another is in C Country.
      in B Country i only got one connection, NO BACKUP LINE. and in C i got 2 Connection. and my HQ Got 3 Connection LINE

      Now the problem is
      B Country : VPN Keep going down and cant connect it self automatic. every a couple week or one time a month!.
      C Country : VPN Keep going down every couple day.
      HQ Country : Never have any problems VPN never going down almost a year.

      i have to remote to some internal computer to my branch to just click Restart Service from Console menu…. and that all!

      is there anyway i can prevent this problems? it always keep me awake becuz User keep calling of this issue.

      Any one here can make me Sleep Peaceful?

      Thank you.

      1 Reply Last reply Reply Quote 0
      • M
        marvosa
        last edited by

        What version of PFsense is at each site?

        1 Reply Last reply Reply Quote 0
        • N
          Nazilus
          last edited by

          All are in same version 2.0.3 set up by the same guy…

          Thank you

          1 Reply Last reply Reply Quote 0
          • N
            Nazilus
            last edited by

            is there any command i can use to automatic restart OpenVPN every morning?

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Not on 2.0.x, but on 2.1 I have added a command-line management script for managing services that can control OpenVPN. I'm not sure if it would pull back to 2.0.3 OK, I never tried it.

              But if you're on 2.1 you can just run, for example:

              pfSsh.php playback svc restart openvpn client 2
              

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

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