#StackBounty: #ios #swift #vpn #networkextension #l2tp Implementing VPN with L2TP protocol in iOS app

Bounty: 100

In iOS settings there are options to create VPN configuration using IPSec, IKEv2 and L2TP. Using NetworkExtension framework from Apple there’s option to create VPN using IPSec and IKEv2 protocols only. They do work but problem is that I need to create connection via L2TP since that’s only supported by company’s firewall.

There’s question iOS app with custom VPN connect from 2014 and it’s answered with:

If you want to connect programatically in ios 8 you can use only IPSec or IKEv2 protocols. L2TP and PPTP protocols are private for apple. It is not possible to use L2TP and PPTP APIs in your applications. Only Apple is currently using these APIs.

Is there any way to create L2TP VPN connection from iOS application (Swift)?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.