James wrote: > > What I'm looking for is the series of steps to > 1. Where best to locate my script? > 2. Insert (new) commands into the script. > 3. convert new scrited commands into rulesets > 4. Load rulesets into the /var/lib/iptables/rules-save > 5. Restart the iptables/netfilter firewall > 6. Test the (new) rulesset > 7. Go to step 2 and repeat until a wonderful firewall results. > > If what I work above [A] is correct then I just need some suggestions > as to where the scipt should be located under /etc/, for > consistentcy with gentoo mindsets. > > If what I have written is incorrect, please correct with some detail? > > PS: I'm not trying to be a pain, I just need to fully understand the > process on Gentoo. > > > James > >
You can search around for a script to run. I found one here: http://openchemist.net/linux/howto/files/theWall You can find others though that are more to your liking of course. What I did a long time ago is this. I found a script that did what I needed and downloaded it. I then put it in /sbin and made it executable. I ran the command to make sure it would work. After that I did a /etc/init.d/iptables save and from then on it has worked. I did have to change a setting when I started using samba then save it again but it is not to hard. Now figuring out the iptables command is another matter. It never has really made much sense to me. I just searched for a good script and ran it. Dale :-) :-) -- gentoo-user@gentoo.org mailing list