Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Generated by iptables-save v1.4.12 on Fri May 10 20:47:42 2013
- *nat
- :PREROUTING ACCEPT [962:172904]
- :INPUT ACCEPT [0:0]
- :OUTPUT ACCEPT [5424:322218]
- :POSTROUTING ACCEPT [803:54833]
- [4617:267051] -A POSTROUTING -o wlan0 -j MASQUERADE
- COMMIT
- # Completed on Fri May 10 20:47:42 2013
- # Generated by iptables-save v1.4.12 on Fri May 10 20:47:42 2013
- *mangle
- :PREROUTING ACCEPT [49398:53264760]
- :INPUT ACCEPT [48485:53094425]
- :FORWARD ACCEPT [0:0]
- :OUTPUT ACCEPT [47638:12377565]
- :POSTROUTING ACCEPT [47717:12390757]
- COMMIT
- # Completed on Fri May 10 20:47:42 2013
- # Generated by iptables-save v1.4.12 on Fri May 10 20:47:42 2013
- *filter
- :INPUT DROP [12:1491]
- :FORWARD DROP [0:0]
- :OUTPUT DROP [0:0]
- :INBOUND - [0:0]
- :LOG_FILTER - [0:0]
- :LSI - [0:0]
- :LSO - [0:0]
- :NR - [0:0]
- :OUTBOUND - [0:0]
- [521:79254] -A INPUT -s 127.0.0.1/32 -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT
- [1119:115760] -A INPUT -s 127.0.0.1/32 -p udp -j ACCEPT
- [15:660] -A INPUT -i lo -j ACCEPT
- [368:28588] -A INPUT -p icmp -m limit --limit 10/sec -j ACCEPT
- [0:0] -A INPUT -d 255.255.255.255/32 -i wlan0 -j DROP
- [86:12679] -A INPUT -d 192.168.0.255/32 -j DROP
- [0:0] -A INPUT -d 255.255.255.255/32 -i eth0 -j DROP
- [0:0] -A INPUT -d 192.168.0.255/32 -i eth0 -j DROP
- [0:0] -A INPUT -s 224.0.0.0/8 -j DROP
- [99:2972] -A INPUT -d 224.0.0.0/8 -j DROP
- [0:0] -A INPUT -s 255.255.255.255/32 -j DROP
- [0:0] -A INPUT -d 0.0.0.0/32 -j DROP
- [0:0] -A INPUT -m state --state INVALID -j DROP
- [0:0] -A INPUT -f -m limit --limit 10/min -j LSI
- [40982:44089329] -A INPUT -i wlan0 -j INBOUND
- [5273:8762746] -A INPUT -d 192.168.0.2/32 -i eth0 -j INBOUND
- [10:946] -A INPUT -d 192.168.0.6/32 -i eth0 -j INBOUND
- [0:0] -A INPUT -d 192.168.0.255/32 -i eth0 -j INBOUND
- [12:1491] -A INPUT -j LOG_FILTER
- [12:1491] -A INPUT -j LOG --log-prefix "Unknown Input" --log-level 6
- [0:0] -A FORWARD -p icmp -m limit --limit 10/sec -j ACCEPT
- [0:0] -A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
- [0:0] -A FORWARD -i eth0 -j OUTBOUND
- [0:0] -A FORWARD -d 192.168.0.0/24 -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT
- [0:0] -A FORWARD -d 192.168.0.0/24 -p udp -m state --state RELATED,ESTABLISHED -j ACCEPT
- [0:0] -A FORWARD -j LOG_FILTER
- [0:0] -A FORWARD -j LOG --log-prefix "Unknown Forward" --log-level 6
- [0:0] -A OUTPUT -s 192.168.0.6/32 -d 127.0.0.1/32 -p tcp -m tcp --dport 53 -j ACCEPT
- [0:0] -A OUTPUT -s 192.168.0.6/32 -d 127.0.0.1/32 -p udp -m udp --dport 53 -j ACCEPT
- [1697:202352] -A OUTPUT -o lo -j ACCEPT
- [0:0] -A OUTPUT -s 224.0.0.0/8 -j DROP
- [4:334] -A OUTPUT -d 224.0.0.0/8 -j DROP
- [0:0] -A OUTPUT -s 255.255.255.255/32 -j DROP
- [0:0] -A OUTPUT -d 0.0.0.0/32 -j DROP
- [12:548] -A OUTPUT -m state --state INVALID -j DROP
- [43038:11595845] -A OUTPUT -o wlan0 -j OUTBOUND
- [2887:578486] -A OUTPUT -o eth0 -j OUTBOUND
- [0:0] -A OUTPUT -j LOG_FILTER
- [0:0] -A OUTPUT -j LOG --log-prefix "Unknown Output" --log-level 6
- [38294:52076885] -A INBOUND -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT
- [7810:746385] -A INBOUND -p udp -m state --state RELATED,ESTABLISHED -j ACCEPT
- [161:29751] -A INBOUND -j LSI
- [161:29751] -A LSI -j LOG_FILTER
- [0:0] -A LSI -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m limit --limit 1/sec -j LOG --log-prefix "Inbound " --log-level 6
- [0:0] -A LSI -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j DROP
- [0:0] -A LSI -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK RST -m limit --limit 1/sec -j LOG --log-prefix "Inbound " --log-level 6
- [0:0] -A LSI -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK RST -j DROP
- [0:0] -A LSI -p icmp -m icmp --icmp-type 8 -m limit --limit 1/sec -j LOG --log-prefix "Inbound " --log-level 6
- [0:0] -A LSI -p icmp -m icmp --icmp-type 8 -j DROP
- [161:29751] -A LSI -m limit --limit 5/sec -j LOG --log-prefix "Inbound " --log-level 6
- [161:29751] -A LSI -j DROP
- [0:0] -A LSO -j LOG_FILTER
- [0:0] -A LSO -m limit --limit 5/sec -j LOG --log-prefix "Outbound " --log-level 6
- [0:0] -A LSO -j REJECT --reject-with icmp-port-unreachable
- [0:0] -A NR -s 0.0.0.0/8 -d 192.168.0.0/24 -i wlan0 -j LSI
- [0:0] -A NR -s 10.0.0.0/8 -d 192.168.0.0/24 -i wlan0 -j LSI
- [0:0] -A NR -s 127.0.0.0/8 -d 192.168.0.0/24 -i wlan0 -j LSI
- [0:0] -A NR -s 169.254.0.0/16 -d 192.168.0.0/24 -i wlan0 -j LSI
- [0:0] -A NR -s 172.16.0.0/12 -d 192.168.0.0/24 -i wlan0 -j LSI
- [0:0] -A NR -s 192.0.0.0/24 -d 192.168.0.0/24 -i wlan0 -j LSI
- [0:0] -A NR -s 192.0.2.0/24 -d 192.168.0.0/24 -i wlan0 -j LSI
- [0:0] -A NR -s 192.168.0.0/16 -d 192.168.0.0/24 -i wlan0 -j LSI
- [0:0] -A NR -s 198.18.0.0/15 -d 192.168.0.0/24 -i wlan0 -j LSI
- [0:0] -A NR -s 198.51.100.0/24 -d 192.168.0.0/24 -i wlan0 -j LSI
- [0:0] -A NR -s 203.0.113.0/24 -d 192.168.0.0/24 -i wlan0 -j LSI
- [0:0] -A NR -s 224.0.0.0/4 -d 192.168.0.0/24 -i wlan0 -j LSI
- [0:0] -A NR -s 240.0.0.0/4 -d 192.168.0.0/24 -i wlan0 -j LSI
- [18:2946] -A OUTBOUND -p icmp -j ACCEPT
- [19016:1984895] -A OUTBOUND -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT
- [14015:9463430] -A OUTBOUND -p udp -m state --state RELATED,ESTABLISHED -j ACCEPT
- [12876:723060] -A OUTBOUND -j ACCEPT
- COMMIT
- # Completed on Fri May 10 20:47:42 2013
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement