From: Milo B. <bla...@ea...> - 2016-08-27 16:03:08
|
Using version 2.1.9. To load rules at boot there is normally no problem entering in rc.firewall/rc.firewall.local. However, chain FW_LOG seems to be a problem. I see where the chain is created and references are added to INPUT and FORWARD in rc.firewall. However, no rules are added to FW_LOG. When I attempt to add rules they do not appear when the machine boots/reboots. I am actually sourcing from another script and I know the rules are being added because rules in other chains are added and appear properly and if I run the source directly through bash all appear as they should. It appears that somewhere further down the line during boot this chain is flushed and then populated, losing anything added in rc.firewall/rc.firewall.local. Question: where can rules be added to FW_LOG so they will survive the boot process? Alternately where or how can rules be added as the absolute last thing during boot? I can't seem to find the last script run or a hook to either add a script or source a script. Thanks. By the way, I won't say how many years I have used IPCOP because I don't remember and that would also be an indication of my age. Just let me say somebody had to teach rocks how to make dirt and I guess I got the job. |