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

    Run a script when interface status change to up?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 541 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.
    • G
      garpharm13
      last edited by

      Is there a way to run a script each time an interface status changes to up? I need to run a script when my openvpn client connects. I have the script working now, but must manually envoke it each time I reconnect to the vpn server.

      1 Reply Last reply Reply Quote 0
      • H
        Hakon74
        last edited by

        Hi.

        I have done what you ask.
        Have a look at this post https://forum.pfsense.org/index.php?topic=71725.msg729466#msg729466

        O 1 Reply Last reply Reply Quote 0
        • G
          garpharm13
          last edited by

          Thank you, amazing work!

          1 Reply Last reply Reply Quote 0
          • O
            opoplawski @Hakon74
            last edited by

            @Hakon74 Unfortunately that link no longer appears to work.

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