These two parts to this, business and technical.
At the business level, packet tunnel providers are intended to be used to provide custom VPN transports. DTS does not support their use for other, ‘off label’ tasks. And while I can’t speak for App Review, my recommendation is that you consult both their guidelines and your developer legal agreements before creating a packet tunnel provider for anything other than this supported case.
At a technical level, the answer depends on what you mean by “setup custom proxy”. Are you referring to a proxy configured via the
NEProxySettings
type? Or a proxy that you implement in your own code by processing the various packets that travel through your provider?
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"