Skip to content

Instantly share code, notes, and snippets.

@craigw
Created July 20, 2009 19:18
Show Gist options
  • Save craigw/150548 to your computer and use it in GitHub Desktop.
Save craigw/150548 to your computer and use it in GitHub Desktop.
pre-up iptables-restore < /etc/iptables.rules
post-down iptables-save -c > /etc/iptables.rules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment