I've got my own iptables script to launch a customized firewall, located in
/usr/local/bin.
I'm aware of /etc/init.d/iptables the 'runscipt'. I do not wish to edit this
scipt as 'gentoo' updates nuke my edits therein. Where is the gentoo
place of preference to launch my scipt after the gentoo runscipt
'/etc/init.d/iptables' is finished running?
Is their a way to get 'rc-update add <my_firewall> default' to launch
my_firewall without putting it in the /etc/init.d/ dir and using the
runscipt template for my script?
thoughts, suggestions and examples are most welcome.
Keep your script in /etc and run it once.
If you have SAVE_ON_STOP="yes" in /etc/conf.d/iptables
your rules will be restored whenever you restart iptables.
HTH,
Sasha
--
[email protected] mailing list