Skip to content

Instantly share code, notes, and snippets.

@igniteflow
Created February 21, 2012 17:55
Show Gist options
  • Select an option

  • Save igniteflow/1877718 to your computer and use it in GitHub Desktop.

Select an option

Save igniteflow/1877718 to your computer and use it in GitHub Desktop.
Add a new rule to iptables and apply
# add your rules
/etc/iptables.rules
# update the rules
iptables-restore < /etc/iptables.rules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment