epike on Mon, 23 Dec 2002 10:50:30 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] netfilter/firewall question


yes this actually makes more sense. I'm just starting
out so i think its better for me to write it in script
form so i can layout better what i'm about to do.

thanks
epike

> 
> iptables save will generate a shell script for you based on what you 
> entered manually.  Writing your own shell script is my method, but it is 
> not for everyone.  Also when you edit the shell script you can insert 
> rules where they will be appropriate and not reached because of a 
> previous rule.
> 
> I hope that I am making sense to you.
> 
> epike@isinet.com wrote:
> > Ive been trying to understand iptables and
> > firewalling rules and seen a lot of examples 
> > on the web for setting it up.  right now
> > my main issue is 
> > 
> > why do they write iptables rules as 
> > a shellscript  and putting in /etc/rc.d
> > instead of defining it inline by iptables
> > and executing "iptables save" at the end?
> > which one is the preferred or the more correct
> > method?
> > 
> > epike,
> > iptables newbie
> > 
> > 
> > 

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug