• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 558 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 Jan 29, 2018, 12:47 AM

    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 Jan 29, 2018, 10:25 PM

      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 15 days ago Reply Quote 0
      • G
        garpharm13
        last edited by Jan 30, 2018, 3:02 PM

        Thank you, amazing work!

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

          @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.
            [[user:consent.lead]]
            [[user:consent.not_received]]