Skip to content

Instantly share code, notes, and snippets.

Created June 10, 2014 16:47
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 anonymous/f1190276a78cb15f8e85 to your computer and use it in GitHub Desktop.
Save anonymous/f1190276a78cb15f8e85 to your computer and use it in GitHub Desktop.
# Generated from salt-master. Do not edit.
# Raw-related rules:
*raw
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A PREROUTING -s 10.0.0.0/8 -d 10.0.0.0/8 -j NOTRACK
-A OUTPUT -s 10.0.0.0/8 -d 10.0.0.0/8 -j NOTRACK
COMMIT
# End raw-related rules.
# Filter-related rules:
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -s 10.0.0.0/8 -j ACCEPT
COMMIT
# End filter-related rules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment