PFsense

Is there anyway to get Hubitat to launch a php script? Maybe a http post to an internal server that will trigger a pup script to speak to pfsense to toggle a firewall rule?

I’m thinking of using a pico remote to toggle a rule to block ipads and other streaming devices when I want. It would be much a faster then logging into the firewall to do this....

Just thinking out loud. Anyone else think of doing this ?

May of asked to soon.

I know this is an old thread, but I did just create a python script that will toggle rule(s) to enabled or disabled on a pfsense firewall. I have it hooked into homebridge for ease. It uses FauxAPI to connect in.

@tsuthar Any chance you'd be willing to share it here? This sounds like what I'm trying to accomplish with my pfSense firewall as well.

Sorry, been out of town for the past several days. I'll write it up and send it.

That would be awesome - thanks!