IPv6 + Packet Tunnel Provider

I've implemented a VPN app with Packet Tunnel Provider.

In my app, I'm tunneling only the IPv4 traffic.

Also, my server supprort only IPv4 addresses.


From what I understand - now I will have to controll the traffic of IPv6 as well?

Or can I still continue as usual, and support only IPv4 ?

(I do want to controll most traffic from the device)

There’s two parts of this:

  • running the tunnel over IPv6

  • running IPv6 over the tunnel

The upcoming requirement to support IPv6-only networks means that you must deal with the first issue. See the Supporting IPv6-only Networks pinned post for more background on this.

I don’t think there’s any requirement that you deal with the second issue. If your tunnel doesn’t claim any IPv6 routes, the system will route IPv6 in the normal way. However, you wrote:

(I do want to controll most traffic from the device)

and if you opt out of IPv6 routing then you’re not going to meet that requirement. Realistically, IPv6 is going to be an increasing part of the network environment over the next few years and you can’t afford to ignore it.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Eskimo, what do you recommend I do if I want to support the second part, i.e., running IPv6 over the tunnel.

thanks for your time!
IPv6 + Packet Tunnel Provider
 
 
Q