Script to disable and enable openvpn
-
I want to write a script to enable and disable openvpn based on if the server is the CARP master or not. I am not sure what the best way to do this is. I think I found the XML config file in /cf/config.xml. I am wondering if I can just update that file and then somehow tell pfsense to use that . Would this work? Or is there a much better way to do it?