Re: iptables & tcp wrappers

Ansgar -59cobalt- Wiechers <[email protected]>
Newsgroups gmane.comp.security.linux
Message-ID <[email protected]>
On 2004-09-28 TJ Easter wrote:
>    I've found it quite helpful to create a shell script to load the
> firewall rules.  The first line of the script blows away all rules
> (iptables -F), then it proceeds to load the rules below that.

The first line(s) should define the default policy (most likely DROP),
before flushing the chains. Otherwise the box may be open until the
rules are defined.

Regards
Ansgar Wiechers
-- 
"Those who would give up liberty for a little temporary safety
deserve neither liberty nor safety, and will lose both."
--Benjamin Franklin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.