Skip to content

Instantly share code, notes, and snippets.

View RahulRai02's full-sized avatar

Rahul Rai RahulRai02

View GitHub Profile
import Foundation
import NetworkExtension
final class DefaultVPNManager: VPNRepository {
var selectedVPN: String = ""
var activatedVPN: String = ""
@IhorYachmenov
IhorYachmenov / VPNIKEv2Setup.swift
Created October 13, 2020 07:32
Example how configure VPN profile based on IKEv2 protocol use NEVPNManager with certificate authentication, example was be tested on real devices, server use AlgoVPN.
import Foundation
import NetworkExtension
class VPNIKEv2Setup {
static let shared = VPNIKEv2Setup()
let vpnManager = NEVPNManager.shared()
func initVPNTunnelProviderManager() {