2020-07-23 18:04:09 -04:00
<!--
Title: How to disable IPv6 on iOS (cellular-only) and macOS and why it’ s a big deal for privacy
Description: Learn how to disable IPv6 on iOS (cellular-only) and macOS and why it’ s a big deal for privacy.
Author: Sun Knudsen < https: / / github . com / sunknudsen >
Contributors: Sun Knudsen < https: / / github . com / sunknudsen >
Publication date: 2020-07-18T10:28:23.605Z
-->
# How to disable IPv6 on iOS (cellular-only) and macOS and why it’ s a big deal for privacy
[](https://www.youtube.com/watch?v=Nzx9T7GtmT4 "How to disable IPv6 on iOS (cellular only) and macOS and why it’ s a big deal for privacy - YouTube")
> Heads up: unfortunately this guide will not work on carriers or ISPs that have migrated their networks to IPv6-only.
## iOS guide
2020-08-02 06:55:08 -04:00
#### Step 1 (macOS): download and open [Apple Configurator 2](https://support.apple.com/apple-configurator)
2020-07-23 18:04:09 -04:00
2020-08-02 06:55:08 -04:00
#### Step 2 (macOS): create new profile using <kbd>cmd + n</kbd>
2020-07-23 18:04:09 -04:00
2020-08-02 06:55:08 -04:00
#### Step 3 (macOS): configure "General" settings
2020-07-23 18:04:09 -04:00

2020-08-02 06:55:08 -04:00
#### Step 4 (iOS): find your APN settings
2020-07-23 18:04:09 -04:00
Open "Settings", then "Cellular", then "Cellular Data Network".
2020-07-24 05:56:25 -04:00

2020-07-23 18:04:09 -04:00
2020-08-02 06:55:08 -04:00
#### Step 5 (macOS): configure "Cellular" settings
2020-07-23 18:04:09 -04:00

2020-08-02 06:55:08 -04:00
#### Step 6 (macOS): save provisioning profile
2020-07-23 18:04:09 -04:00
2020-08-02 06:55:08 -04:00
#### Step 7 (macOS): connect iPhone to Mac
2020-07-23 18:04:09 -04:00
2020-08-02 06:55:08 -04:00
#### Step 8 (macOS): double-click on iPhone
2020-07-23 18:04:09 -04:00

2020-08-02 06:55:08 -04:00
#### Step 9 (macOS): click on "Profile" tab, then "Add Profiles...", select saved provisioning profile and click "Add"
2020-07-23 18:04:09 -04:00

2020-08-02 06:55:08 -04:00
#### Step 10 (iOS): review profile
2020-07-23 18:04:09 -04:00
Open "Settings", then "Profile Downloaded" and tap "Install"
2020-07-24 05:56:25 -04:00

2020-07-23 18:04:09 -04:00
## macOS guide
2020-08-02 06:55:08 -04:00
#### Step 1: list network interfaces
2020-07-23 18:04:09 -04:00
```shell
networksetup -listallnetworkservices
```
2020-08-02 06:55:08 -04:00
#### Step 2: disable IPv6
2020-07-23 18:04:09 -04:00
```shell
networksetup -setv6off "Wi-Fi"
networksetup -setv6off "Thunderbolt Ethernet"
```
---
## Want things back the way they were before following this guide? No problem!
2020-08-02 06:55:08 -04:00
#### Step 1 (iOS): remove provisioning profile from iPhone
2020-07-23 18:04:09 -04:00
Open "Settings", then "General", then "Profile", tap on your provisioning profile and tap "Remove Profile".

2020-08-02 06:55:08 -04:00
#### Step 2 (macOS): set network interfaces to automatic
2020-07-23 18:04:09 -04:00
```shell
networksetup -setv6automatic "Wi-Fi"
networksetup -setv6automatic "Thunderbolt Ethernet"
```