Skip to content

Instantly share code, notes, and snippets.

@wechain
Forked from mestizo/gist:9167834
Created August 12, 2018 08:29
Show Gist options
  • Save wechain/c59766c6b7a67913c8f3d30728c1e532 to your computer and use it in GitHub Desktop.
Save wechain/c59766c6b7a67913c8f3d30728c1e532 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