simple question

Askar askarali at gmail.com
Wed Apr 27 12:58:03 CEST 2005


you mean if I have rules like

iptables -P FORWARD ACCEPT

iptables -A FORWARD -p tcp --dport 22 -j ACCEPT 

Then putting ESTABLISHED,RELATED thing will helps?
however why should I put ACCEPT rules in FORWARD when the default
policy for it is already to accept everything.

thanks and regards

Askar
On 4/27/05, Mohamed Eldesoky <eldesoky.lists at gmail.com> wrote:
> Yes or No, depends on your rules !!
> 
> On 4/27/05, Askar <askarali at gmail.com> wrote:
> > hi list
> >
> >         If I put  "iptables --policy FORWARD ACCEPT" , still I need a line i-e
> >
> > iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
> >
> > Regards
> >
> > Askar
> > --
> > I love deadlines. I like the whooshing sound they make as they fly by.
> > Douglas Adams
> >
> >
> 
> --
> Mohamed Eldesoky
> www.eldesoky.net
> RHCE
> 


-- 
I love deadlines. I like the whooshing sound they make as they fly by.
Douglas Adams



More information about the netfilter mailing list