1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

duplicated entries in the iptable

Discussion in 'Tomato Firmware' started by rs232, Oct 10, 2013.

  1. rs232

    rs232 Network Guru Member

    Why do we get so many duplicated entries in the iptable? e.g. line 1-5, 10-11, 14-15 of the output below.

    Code:
    root@tomato:/tmp/home/root# iptables -L FORWARD -n --line-numbers
    Chain FORWARD (policy DROP)
    num  target  prot opt source  destination
    1  ACCEPT  all  --  0.0.0.0/0  0.0.0.0/0
    2  ACCEPT  all  --  0.0.0.0/0  0.0.0.0/0
    3  ACCEPT  all  --  0.0.0.0/0  0.0.0.0/0
    4  ACCEPT  all  --  0.0.0.0/0  0.0.0.0/0
    5  ACCEPT  all  --  0.0.0.0/0  0.0.0.0/0
    6  DROP  all  --  0.0.0.0/0  0.0.0.0/0  state INVALID
    7  TCPMSS  tcp  --  0.0.0.0/0  0.0.0.0/0  tcp flags:0x06/0x02 TCPMSS clamp to PMTU
    8  L7in  all  --  0.0.0.0/0  0.0.0.0/0
    9  ACCEPT  all  --  0.0.0.0/0  0.0.0.0/0  state RELATED,ESTABLISHED
    10  DROP  all  --  0.0.0.0/0  0.0.0.0/0
    11  DROP  all  --  0.0.0.0/0  0.0.0.0/0
    12  wanin  all  --  0.0.0.0/0  0.0.0.0/0
    13  wanout  all  --  0.0.0.0/0  0.0.0.0/0
    14  ACCEPT  all  --  0.0.0.0/0  0.0.0.0/0
    15  ACCEPT  all  --  0.0.0.0/0  0.0.0.0/0
    16  upnp  all  --  0.0.0.0/0  0.0.0.0/0
    
    
    
     
    Last edited: Oct 10, 2013
  2. koitsu

    koitsu Network Guru Member

    You forgot -v when using iptables.
     
  3. rs232

    rs232 Network Guru Member

    Thank Koitsu, that explains!
     

Share This Page