Re: First rule in the list seems to allow everything?

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

 



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





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux