Disable All Openvpn tunnels at once

  • Hi, does anyone know of a way the either turn the entire openvpn service off or disable all openvpn tunnels at once in pfsense 2?

  • Rebel Alliance Developer Netgate

    There isn't a master switch for OpenVPN that would do what you're attempting.

    What is it you're really trying to accomplish? Perhaps there is another way to make it happen?

    One possible solution might be to "killall -9 openvpn" to stop it, and run /etc/rc.openvpn to start again.

    That would only be temporary though and it wouldn't survive any action that would normally cause OpenVPN to start again (e.g. reboot, WAN down/up event, etc)

Log in to reply