The pfSense Store

Author Topic: How to reload ruleset manually (via script)?  (Read 124 times)

0 Members and 1 Guest are viewing this topic.

Offline brunok

  • Full Member
  • ***
  • Posts: 283
  • Karma: +35/-2
    • View Profile
How to reload ruleset manually (via script)?
« on: March 20, 2017, 02:56:17 pm »
Hi,

I'm creating a shell script which in certain action needs to change an ip in an alias.

/tmp/rules.debug has altered with script and in shell, this command pfctl -f /tmp/rules.debug reloading RULESET, but, only in memory.


How to make effective changes (save in GUI - XML) and reload filters via script?  ???
« Last Edit: March 20, 2017, 03:19:08 pm by brunok »