Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jcd@tunabread:/etc$ cat iptables.rules
- # Generated by iptables-save v1.4.4 on Sat Apr 7 21:25:42 2012
- *filter
- :INPUT ACCEPT [0:0]
- :FORWARD ACCEPT [0:0]
- :OUTPUT ACCEPT [1422178:144238826]
- -A INPUT -i lo -j ACCEPT
- -A INPUT -i eth0 -ü tcp -m tcp --dport 25565 -j ACCEPT
- -A INPUT -i eth0 -p udp -m udp --dport 11011 -j ACCEPT
- -A INPUT -p udp -m udp --dport 37888 -j ACCEPT
- -A INPUT -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
- -A INPUT -i eth0 -p tcp -m tcp --dport 55055 -j ACCEPT
- -A INPUT -i eth0 -p tcp -m tcp --dport 80-j ACCEPT
- -A INPUT -i eth0 -p udp -m udp --dport 32887 -j ACCEPT
- -A INPUT -m limit --limit 5/min -j LOG --log-prefix "iptables denied: " --log-level 7
- -A INPUT -j DROP
- COMMIT
- # Completed on Sat Apr 7 21:25:42 2012
- # Generated by iptables-save v1.4.4 on Sat apr 7 21:25:42 2012
- *nat
- :PREROUTING ACCEPT [10843:962761]
- :POSTROUTING ACCEPT [6605:360247]
- :OUTPUT ACCEPT [6606:360247]
- COMMIT
- # Completed on Sat apr 7 21:25:42 2012
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement