Netgate SG-1000 microFirewall

Author Topic: Run a script when interface status change to up?  (Read 124 times)

0 Members and 1 Guest are viewing this topic.

Offline garpharm13

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Run a script when interface status change to up?
« on: January 28, 2018, 06:47:03 pm »
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.

Offline Hakon74

  • Jr. Member
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: Run a script when interface status change to up?
« Reply #1 on: January 29, 2018, 04:25:40 pm »
Hi.

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

Offline garpharm13

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Run a script when interface status change to up?
« Reply #2 on: January 30, 2018, 09:02:28 am »
Thank you, amazing work!