How to let special Apps bypass the VPN?

Hi,


I'm developing VPN app for ios and macos, there are problem need your helps,


I want to special apps (1 or many apps) bypass the VPN tunnel, it mean these special app still use current network (wifi or mobile network).


If can not do it, i think there some other solution for bypass special domain or ip address?


Thank for your support,



Replies

Are you deploying to a managed environment?

Share and Enjoy

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

let myEmail = "eskimo" + "1" + "@apple.com"

No, Just is function for user, user can setting at client (ios app)

>other solution for bypass special domain or ip address?


Is this about selling VPN apps via the App Store, in China?

No, Just is function for user, user can setting at client

OK, then the answer is “No.” What you need here is per-app VPN (the

sourceApplication
routing method), and that’s not supported outside of managed environments. Some folks attempt to emulate this using a packet tunnel provider (with the routing method set to
destinationIP
) but that generally doesn’t work well. The problem is that two different apps can use the same infrastructure (content delivery networks, cloud computing platforms, and so on), and thus it’s impossible to distinguish the apps’ traffic based solely on the destination IP.

I regularly discuss this issue with the NetworkExtension folks and they would love to provide a way to support per-app VPN in App Store apps. There are, however, significant technical and business challenges involved. It would help if you filed an enhancement request outlining the requirements of your product.

Please post your bug number, just for the record.

Share and Enjoy

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

let myEmail = "eskimo" + "1" + "@apple.com"