How to change gateway in firewall rule from php
-
I have only 1 rule for all traffic. And I want to change gateway in this rule from my own php script on pfSense 2.0… Please help.
-
i think you need this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html
with this: http://tr2.php.net/manual/en/function.exec.php
-
@Aydin:
i think you need this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html
No.
xogoc: you'll have to script your change to firewall_rules_edit.php and then trigger a filter reload.