Skip to content

Instantly share code, notes, and snippets.

@forestbaker
Created August 29, 2016 20:47
Show Gist options
  • Save forestbaker/76a2352078657c16eaa1fd81c5b63570 to your computer and use it in GitHub Desktop.
Save forestbaker/76a2352078657c16eaa1fd81c5b63570 to your computer and use it in GitHub Desktop.
disable IPv6 on linux
# Disable IPv6 in ufw
sed -i 's/^IPV6=YES/IPV6=NO/I' /etc/default/ufw
disable ufw; enable ufw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment