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

    Script to disable and enable openvpn

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 1.8k 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.
    • K
      ke6igz
      last edited by

      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?

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