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"