Start/Stop specific OVPN instance from command line/script ?
-
How can we start/stop a specific OpenVPN instance from a script?
-
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 2The # is the actual VPN ID, the one you'll see in the links to the service controls on the service status page.