Forked from poting-lin/gist:24bdb00ce594b00f17035e22298ba8de
Last active
May 14, 2024 14:12
-
-
Save Beasta/8b56f59b758b5a272d4cb0d56ef63809 to your computer and use it in GitHub Desktop.
Completely disable IPv6 on OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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" | |
#To Disable IPv6 on Bluetooth PAN | |
sudo networksetup -setv6off "Bluetooth PAN" | |
#To Disable IPv6 on USB ethernet | |
sudo networksetup -setv6off "AX88179 USB 3.0 to Gigabit Ethernet" | |
#To Disable IPv6 on Thunderbolt bridge | |
sudo networksetup -setv6off "Thunderbolt Bridge" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment