D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Roll-your-own firewall



On Sat, Mar 29, 2003 at 12:22:00 +0000, Jonathan Melhuish wrote:
> I'm trying to "roll my own" block-everything-external type firewall, based 
> loosely on Kai's instructions at:
> http://db.cs.helsinki.fi/~hendry/faqwiz/faqw.py?req=show&file=faq01.020.htp
> However, I'm falling at the first hurdle:
> 
> [root@xxxxxxxxx jon]# iptables -F
> [root@xxxxxxxxx jon]#  iptables -A block -m state --state NEW -i ! ppp0 -j 
> ACCEPT
> iptables: No chain/target/match by that name


Oops. It seems that I have forgotten to include this command:
iptables -N block

That creates a 'chain'.

I hope that works, any other problems/comments please mail me.

-Kai


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly