Created
August 4, 2012 18:13
-
-
Save atomic-penguin/3259102 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Generated by iptables-save v1.4.0 on Mon Feb 16 20:47:39 2009 | |
| *filter | |
| :INPUT DROP [0:0] | |
| :FORWARD DROP [0:0] | |
| :OUTPUT ACCEPT [0:0] | |
| # Accept any traffic on loopback | |
| -A INPUT -i lo -j ACCEPT | |
| # Echo Request / Tracert | |
| -A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT | |
| -A INPUT -p icmp -m icmp --icmp-type 11 -j ACCEPT | |
| # SSH | |
| -A INPUT -p tcp -m tcp --dport 22 --syn -j ACCEPT | |
| # Accept established/related connections | |
| -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT | |
| -A INPUT -m limit --limit 3/min --limit-burst 3 -j LOG --log-prefix "IPTABLES: " | |
| COMMIT | |
| # Completed on Mon Feb 16 20:47:39 2009 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment