Am I misunderstanding this or is this person actually asking about an VPN client rather than a server? I don't think running a server makes sense in the context of redirecting DNS packets.
Surely iOS allows some kind of soft VPN API that this developer can use?
I think they are actually asking for a server. I used mullvad vpn in the past, and it looks like it creates a local ipsec server, and than tunnels that traffic through wireguard to mullvad.
The user is probably looking for something similar, as ios only supports ipsec/ikev2/l2tp natively. If you want to use wireguard or openvpn you have to get creative.
> The user is probably looking for something similar, as ios only supports ipsec/ikev2/l2tp natively. If you want to use wireguard or openvpn you have to get creative.
Hm? There's been an official Wireguard app on the App Store for years[1]. I've been a happy user of it since day 1.
Okay, I just dove into wireguard‘s source code and it looks like I made wrong assumptions. When I used mullvad or wireguard, it always showed „127.0.0.1“ as the server, however, according to wireguard‘s source, this is just set as a placeholder. I assume that mullvad used this code to implement their app too.
10 comments
[ 4.7 ms ] story [ 42.0 ms ] threadSurely iOS allows some kind of soft VPN API that this developer can use?
The user is probably looking for something similar, as ios only supports ipsec/ikev2/l2tp natively. If you want to use wireguard or openvpn you have to get creative.
Hm? There's been an official Wireguard app on the App Store for years[1]. I've been a happy user of it since day 1.
[1]: https://apps.apple.com/us/app/wireguard/id1441195209
Setting up a double VPN client/server system seems unnecessarily complicated to me. I wonder what drove Mullvad to this solution.
https://github.com/WireGuard/wireguard-apple/blob/13b720442d...
https://ibb.co/x5kwxZW
And you're right that iOS does have an API for this: the NetworkExtension framework explicitly allows for custom VPN solutions[1].
[1]: https://developer.apple.com/documentation/networkextension