Disable IPv6 for Client Proxy (macOS)
Starting with macOS Sonoma and later versions, the system prioritizes IPv6 traffic and no longer falls back to IPv4 when IPv6 is blocked. As a result, Client Proxy functions as expected only when IPv6 is disabled. In earlier macOS versions, the system automatically reverted to IPv4, maintaining compatibility even when IPv6 was unavailable. To ensure proper connectivity on macOS Sonoma and above, disable IPv6 through System Settings or by using a Terminal command.
NOTE: Client Proxy is supported only in IPv4-capable networks.
Disable IPv6 Manually
To manually disable IPv6 in your network settings, follow these steps:
- Go to System Settings > Network.
- Click Details.
- Click the TCP/IP tab.
- In the Configure IPv6 drop-down menu, select Off.
- Click OK.
- Restart your system to apply the changes.
Disable IPv6 Using Terminal
If the disable option is unavailable in the network settings, use the Terminal to disable IPv6.
- Open Terminal.
- Run the
sudo networksetup -listallnetworkservices
command to list all network interfaces.
NOTE: Disable IPv6 for all active network interfaces, including Ethernet, Wi-Fi, and others.
- Identify your active network interfaces, typically Ethernet or Wi-Fi.
- Run
-setv6off
command to disable IPv6 from all the active network interfaces.
For example, check the commands below to disable IPv6 in Ethernet, Wi-Fi, Thunderbolt Bridge, and iPhone USB.- To disable IPv6 on Ethernet, use the command
sudo networksetup-setv6off "Ethernet".
- To disable IPv6 on WiFI, use the command
sudo
networksetup -setv6off "Wi-Fi".
- To disable IPv6 on Thunderbolt Bridge, use the command
sudo
networksetup -setv6off "Thunderbolt Bridge".
- To disable IPv6 on iPhone USB, use the command
sudo
networksetup -setv6Off "iphone USB".
- To disable IPv6 on Ethernet, use the command
- Enter your OS X administrator password when prompted to disable IPv6.
Disable IPv6 Using Jamf
To disable IPv6 on multiple endpoints, use a third-party MDM such as Jamf.
- Create a new profile in Jamf Pro.
- Go to Policies > Files and Processes.
- In the Execute command field, enter the command
networksetup -setv6off “ Wi-Fi “.
- To determine the correct network interface, run the
networksetup -
listallnetworkservices
command and configure the appropriate connection type on the Jamf Execute Command field. - Push the policy to the Mac device or assign the policy to the self-service to disable IPv6.