Skip to content

Instantly share code, notes, and snippets.

@pirafrank
Last active June 12, 2018 06:58
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 pirafrank/dcf9572f5b175e875ad82b8fe8cf605f to your computer and use it in GitHub Desktop.
Save pirafrank/dcf9572f5b175e875ad82b8fe8cf605f to your computer and use it in GitHub Desktop.
disable IPv6 on iptables
ip6tables -P INPUT DROP
ip6tables -P FORWARD DROP
ip6tables -P OUTPUT ACCEPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment