Skip to content

Instantly share code, notes, and snippets.

Created September 22, 2015 18:57
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/0f835de5c4c2bd6284c7 to your computer and use it in GitHub Desktop.
Save anonymous/0f835de5c4c2bd6284c7 to your computer and use it in GitHub Desktop.
iptables example
"fsras":
iptables.append:
- table: filter
- in-interface: eth+
- chain: INPUT
- proto: tcp
- match: tcp
- tcp-flags: FIN,SYN,RST,ACK SYN
- match: state
- connstate: NEW
- jump: DROP
- save: True
-A INPUT -i eth+ -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -m state --state NEW -j DROP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment