I noticed the nice ipchains script in the init.d directory. It's
supposed to read a ruleset and activate or deactivate ipchains whenever
you switch runlevels.
I want to make that script read my current firewall/masq'ing script. I
noticed how the ipchains script in /etc/rc.d/init.d allows you to point
out your current ruleset. I tried to use my current ipchains script but
always get the following error:
[root@edtn007632 init.d]# ./ipchains start
Flushing all current rules and user defined chains: [ OK ]
Clearing all current rules and user defined chains: [ OK ]
Applying ipchains firewall rules: Try `/sbin/ipchains -h' or
'/sbin/ipchains --help' for more information.
ipchains command echo -n "Configuring packet filtering policies... "
failed
This is /sbin/ipchains-restore v1.1.2
If this is the latest version of ipchains-restore, and the input
was created using the latest version of ipchains-save, then I'd
really appreciate a bug report. Please send the input you used,
and all the output from this program to the author,
`[EMAIL PROTECTED]' with `BUG-REPORT' in the subject
line so I know to read the message.
I could'nt find any documentation on this ipchains script, am I using a
wrong format to define my IP rules?
Stef