Dear all,
Does anyone have an experience about using below library ?
https://github.com/ss-abramchuk/OpenVPNAdapter
If yes, please share.
Thanks in advance.
Use experience OpenVPNAdapter
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Mar 22, 2018 3:12 am
-
- OpenVpn Newbie
- Posts: 1
- Joined: Thu Mar 15, 2018 5:24 am
Re: Use experience OpenVPNAdapter
hi
I also want to use it.
but my case ,
OpenVPNAdapter add framework (success)
profile save (success)
Q . but Can I put ovpn in providerConfiguration like this?
NSString *ovpn = [[NSBundle mainBundle] pathForResource:@"sample" ofType:@"ovpn"];
NSData* data_ovpnpath = [ovpn dataUsingEncoding:NSUTF8StringEncoding];
protocol.providerConfiguration = @{@"ovpn" : data_strovpn};
vpn connect (??)
delegate not working . .....
help plz...
I also want to use it.
but my case ,
OpenVPNAdapter add framework (success)
profile save (success)
Q . but Can I put ovpn in providerConfiguration like this?
NSString *ovpn = [[NSBundle mainBundle] pathForResource:@"sample" ofType:@"ovpn"];
NSData* data_ovpnpath = [ovpn dataUsingEncoding:NSUTF8StringEncoding];
protocol.providerConfiguration = @{@"ovpn" : data_strovpn};
vpn connect (??)
delegate not working . .....
help plz...
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Mar 22, 2018 3:12 am
Re: Use experience OpenVPNAdapter
@kimkshahaha
You should implement extension Packet Tunnel of Network Extension to your app. You can add it Target -> Add New Target.. -> Network Extension -> Select "Packet Tunnel".
After above steps, you will see extended class of NEPacketTunnelProvider. Your OpenVPNAdapter implementation should be here.
Thanks,
You should implement extension Packet Tunnel of Network Extension to your app. You can add it Target -> Add New Target.. -> Network Extension -> Select "Packet Tunnel".
After above steps, you will see extended class of NEPacketTunnelProvider. Your OpenVPNAdapter implementation should be here.
Thanks,