Skip to content

Instantly share code, notes, and snippets.

@glesica
Created July 24, 2011 22:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glesica/1103181 to your computer and use it in GitHub Desktop.
Save glesica/1103181 to your computer and use it in GitHub Desktop.
# Generated by iptables-save v1.4.4 on Fri Jun 18 01:22:38 2010
*filter
# WHAT THE FUCK DO THE NEXT THREE LINES DO?
:INPUT DROP [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [27:2732]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m tcp --dport 27000 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -j DROP
COMMIT
# Completed on Fri Jun 18 01:22:38 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment