iptables -nvL output Chain INPUT (policy ACCEPT 214K packets, 11M bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 195K packets, 356M bytes) pkts bytes target prot opt in out source destination -----Original Message----- From: netfilter-bounces@xxxxxxxxxxxxxxxxxxx [mailto:netfilter-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Rob Sterenborg Sent: Wednesday, January 25, 2006 10:09 AM To: netfilter@xxxxxxxxxxxxxxxxxxx Subject: Re: First rule in the list seems to allow everything? On Wed, January 25, 2006 15:58, Arthur DiSegna wrote: > > > Hello, > > I set my IPTABLES policy to clear all rules and then drop everything > before defining a policy. I suspect this is the default procedure > everyone uses from the looks of the web. Anwyay, when I run iptables > -L -n the first line reads: > > target prot opt source destination > ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 > RULES -------- --- ------ > RULES -------- --- ------ > > Doing an nmap scan on the box only shows the open ports I specified in > the ruleset. This is good. However, the Accept all above in the first > line has me a little confused. What is happening here? Try listing the rules with : iptables -nvL Gr, Rob