create a network extension, add the package to your NE target using SwiftPM, use setTunnelNetworkSettings to create an interface, run your tun2socks instance (+ any local proxy app you want to use, like xray-core).
if you need specifics for any part, feel free to ask.
create a network extension, add the package to your NE target using SwiftPM, use setTunnelNetworkSettings to create an interface, run your tun2socks instance (+ any local proxy app you want to use, like xray-core).
if you need specifics for any part, feel free to ask.