EFW Support

Development => Contribute Your Customisations & Modifications => Topic started by: MaxMouse on Tuesday 09 November 2010, 09:51:24 am



Title: Restore Access Policy with Cron
Post by: MaxMouse on Tuesday 09 November 2010, 09:51:24 am
Hi everyone

Pleasure to make my first post, and it's a question. ???

Let me tell you, I am running a EFW 2.4 with 3 rules in Proxy-Access Policies, the first one block all access, the other one with some blocks and last with all free. some times employees ask me set free access and some days I forget delete them of the list the next day.

So, what I want to do is a basic script run it with the cron every day, actually the script works for me, it delete the additional ips in the list and restart dansguardian and squeed too, but when I go to GUI the rule have the same old IP, but, the policy of the rule is working fine.

Maybe I missing a service restart or something, thank you all in advice.   :)