All pastes #777357 Raw Edit

Untitled

public text v1 · immutable
·published 2007-11-16 19:21 UTC
rendered paste body
root@TUX:~# iptables -L
Chain Drop (1 references)
target     prot opt source               destination         
reject     tcp  --  anywhere             anywhere            tcp dpt:auth 
dropBcast  all  --  anywhere             anywhere            
ACCEPT     icmp --  anywhere             anywhere            icmp fragmentation-needed 
ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded 
dropInvalid  all  --  anywhere             anywhere            
DROP       udp  --  anywhere             anywhere            multiport dports loc-srv,microsoft-ds 
DROP       udp  --  anywhere             anywhere            udp dpts:netbios-ns:netbios-ssn 
DROP       udp  --  anywhere             anywhere            udp spt:netbios-ns dpts:1024:65535 
DROP       tcp  --  anywhere             anywhere            multiport dports loc-srv,netbios-ssn,microsoft-ds 
DROP       udp  --  anywhere             anywhere            udp dpt:1900 
dropNotSyn  tcp  --  anywhere             anywhere            
DROP       udp  --  anywhere             anywhere            udp spt:domain 

Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
eth0_in    all  --  anywhere             anywhere            
eth1_in    all  --  anywhere             anywhere            
Reject     all  --  anywhere             anywhere            
reject     all  --  anywhere             anywhere            

Chain FORWARD (policy DROP)
target     prot opt source               destination         
eth0_fwd   all  --  anywhere             anywhere            
eth1_fwd   all  --  anywhere             anywhere            
Reject     all  --  anywhere             anywhere            
reject     all  --  anywhere             anywhere            

Chain OUTPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     udp  --  anywhere             anywhere            udp dpts:bootps:bootpc 
fw2loc     all  --  anywhere             anywhere            
fw2net     all  --  anywhere             anywhere            
Reject     all  --  anywhere             anywhere            
reject     all  --  anywhere             anywhere            

Chain Reject (4 references)
target     prot opt source               destination         
reject     tcp  --  anywhere             anywhere            tcp dpt:auth 
dropBcast  all  --  anywhere             anywhere            
ACCEPT     icmp --  anywhere             anywhere            icmp fragmentation-needed 
ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded 
dropInvalid  all  --  anywhere             anywhere            
reject     udp  --  anywhere             anywhere            multiport dports loc-srv,microsoft-ds 
reject     udp  --  anywhere             anywhere            udp dpts:netbios-ns:netbios-ssn 
reject     udp  --  anywhere             anywhere            udp spt:netbios-ns dpts:1024:65535 
reject     tcp  --  anywhere             anywhere            multiport dports loc-srv,netbios-ssn,microsoft-ds 
DROP       udp  --  anywhere             anywhere            udp dpt:1900 
dropNotSyn  tcp  --  anywhere             anywhere            
DROP       udp  --  anywhere             anywhere            udp spt:domain 

Chain all2all (0 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
Reject     all  --  anywhere             anywhere            
reject     all  --  anywhere             anywhere            

Chain dropBcast (2 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            PKTTYPE = broadcast 
DROP       all  --  anywhere             anywhere            PKTTYPE = multicast 

Chain dropInvalid (2 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            state INVALID 

Chain dropNotSyn (2 references)
target     prot opt source               destination         
DROP       tcp  --  anywhere             anywhere            tcp flags:!FIN,SYN,RST,ACK/SYN 

Chain dynamic (4 references)
target     prot opt source               destination         

Chain eth0_fwd (1 references)
target     prot opt source               destination         
dynamic    all  --  anywhere             anywhere            state INVALID,NEW 
loc2net    all  --  anywhere             anywhere            

Chain eth0_in (1 references)
target     prot opt source               destination         
dynamic    all  --  anywhere             anywhere            state INVALID,NEW 
loc2fw     all  --  anywhere             anywhere            

Chain eth1_fwd (1 references)
target     prot opt source               destination         
dynamic    all  --  anywhere             anywhere            state INVALID,NEW 
net2loc    all  --  anywhere             anywhere            

Chain eth1_in (1 references)
target     prot opt source               destination         
dynamic    all  --  anywhere             anywhere            state INVALID,NEW 
ACCEPT     udp  --  anywhere             anywhere            udp dpts:bootps:bootpc 
net2fw     all  --  anywhere             anywhere            

Chain fw2loc (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
ACCEPT     all  --  anywhere             anywhere            

Chain fw2net (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain 
ACCEPT     all  --  anywhere             anywhere            

Chain loc2fw (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:www 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:https 
ACCEPT     all  --  anywhere             anywhere            

Chain loc2net (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
reject     tcp  --  anywhere             anywhere            tcp dpt:1863 
ACCEPT     all  --  anywhere             anywhere            

Chain net2all (2 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
Drop       all  --  anywhere             anywhere            
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:net2all:DROP:' 
DROP       all  --  anywhere             anywhere            

Chain net2fw (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh 
net2all    all  --  anywhere             anywhere            

Chain net2loc (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
ACCEPT     tcp  --  anywhere             192.168.1.1         tcp dpt:3389 
ACCEPT     tcp  --  anywhere             192.168.1.1         tcp dpt:ms-sql-s 
net2all    all  --  anywhere             anywhere            

Chain reject (11 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            PKTTYPE = broadcast 
DROP       all  --  anywhere             anywhere            PKTTYPE = multicast 
DROP       all  --  192.168.1.255        anywhere            
DROP       all  --  dyn-8191.rbe.bras-03.mbo.dsl.cantv.net  anywhere            
DROP       all  --  255.255.255.255      anywhere            
DROP       all  --  BASE-ADDRESS.MCAST.NET/4  anywhere            
REJECT     tcp  --  anywhere             anywhere            reject-with tcp-reset 
REJECT     udp  --  anywhere             anywhere            reject-with icmp-port-unreachable 
REJECT     icmp --  anywhere             anywhere            reject-with icmp-host-unreachable 
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited 

Chain shorewall (0 references)
target     prot opt source               destination         

Chain smurfs (0 references)
target     prot opt source               destination         
LOG        all  --  192.168.1.255        anywhere            LOG level info prefix `Shorewall:smurfs:DROP:' 
DROP       all  --  192.168.1.255        anywhere            
LOG        all  --  dyn-8191.rbe.bras-03.mbo.dsl.cantv.net  anywhere            LOG level info prefix `Shorewall:smurfs:DROP:' 
DROP       all  --  dyn-8191.rbe.bras-03.mbo.dsl.cantv.net  anywhere            
LOG        all  --  255.255.255.255      anywhere            LOG level info prefix `Shorewall:smurfs:DROP:' 
DROP       all  --  255.255.255.255      anywhere            
LOG        all  --  BASE-ADDRESS.MCAST.NET/4  anywhere            LOG level info prefix `Shorewall:smurfs:DROP:' 
DROP       all  --  BASE-ADDRESS.MCAST.NET/4  anywhere            
root@TUX:~#