Skip to content

Instantly share code, notes, and snippets.

@freewind
Forked from mestizo/gist:9167834
Created April 5, 2018 09:48
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 freewind/f0ad661b608c8c10fb87c8e9057ff54a to your computer and use it in GitHub Desktop.
Save freewind/f0ad661b608c8c10fb87c8e9057ff54a to your computer and use it in GitHub Desktop.
Completely disable IPv6 on OSX
#To Get List of Hardware
sudo networksetup -listallhardwareports
#To Disable IPv6 on Wifi Adapter
sudo networksetup -setv6off wi-fi
#To Disable IPv6 on Built-in Ethernet Adapter
sudo networksetup -setv6off Ethernet
#To Disable IPv6 on Thunderbolt-base Ethernet Adapter
networksetup -setv6off "Thunderbolt Ethernet"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment