Skip to content

Instantly share code, notes, and snippets.

@tomgullo
Created April 4, 2013 13:19
Show Gist options
  • Save tomgullo/5310288 to your computer and use it in GitHub Desktop.
Save tomgullo/5310288 to your computer and use it in GitHub Desktop.
insert allow ip
iptables -A INPUT 4 -s x.x.x.x -m state --state NEW -p tcp --dport x -j ACCEPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment