VPN icon indicating copy to clipboard operation
VPN copied to clipboard

Doesn't work startVPNTunnel

Open tadao opened this issue 4 years ago • 1 comments

Hi,

Thank you for your repo and your blog. It is useful for me to study iOS and VPN system.

After reading your blog(https://kean.blog/post/vpn-configuration-manager), I tried to compile this repo on my Xcode. But It didn't work correctly. I debugged these codes and found out the point where it didn't work.

buttonStartTapped()
try tunnel.connection.startVPNTunnel

↑(this point)

Of couse, I fixed Bundle identifier, and change com.github.kean.* to my app's settings. But it doesn't work... Any help?

tadao avatar Jan 14 '21 07:01 tadao

@tadao, say is it possible that you're trying to adjust this application to run under macOS and not iOS ? in this case the tunnel won't start unless you explicitly activate the network extension using OSSystemExtensionRequest.activationRequest

iradization avatar May 24 '21 13:05 iradization