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

Start/Stop specific OVPN instance from command line/script ?

OpenVPN
2
2
2.9k
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.
  • G
    gridrun
    last edited by Apr 15, 2013, 2:44 PM

    How can we start/stop a specific OpenVPN instance from a script?

    Tech stuff on my blog: http://niston.wordpress.com

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Apr 15, 2013, 9:37 PM

      Not easily possible on pfSense 2.0.x

      Easy on pfSense 2.1:

      pfSsh.php playback svc stop openvpn server 2
      pfSsh.php playback svc start openvpn server 2
      pfSsh.php playback svc restart openvpn server 2

      The # is the actual VPN ID, the one you'll see in the links to the service controls on the service status page.

      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
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.