ss-abramchuk / OpenVPNAdapter

Objective-C wrapper for OpenVPN library. Compatible with iOS and macOS.
GNU Affero General Public License v3.0
475 stars 215 forks source link

Did it still work? #220

Closed angryAnt7 closed 3 years ago

angryAnt7 commented 3 years ago

Pods : 0.8.0

Mac Version : 10.15.7

Xcode : 12.0.1

ios : 14


I check this tunnelProtocol.providerBundleIdentifier = "xxx.xxxx.xxx"

(xxx.xxx.xxx is my networkextention module bundle Identifier)

I called this try self.providerManager?.connection.startVPNTunnel()

no response... I don't get call of startTunnel

help me

TunnelProvider.entitlements TunnelProvider_entitlements

TunnelProvider info.plist TunnelProvider_info_plist

my project project

TunnelProvider (networkextention) TunnelProvider

fridayhoney commented 3 years ago

same issue... nothing happening I got a crash when I try to listen the extension...

angryAnt7 commented 3 years ago

for update my issue disconnecting -> disconnected fix : ios 14, if use vpn, using connect to an internet network (closed network X)

Since then, another problem has arisen and is being fixed...

angryAnt7 commented 3 years ago

I got the error message

Error Domain=me.ss-abramchuk.openvpn-adapter.error-domain Code=73 "Failed to establish connection with OpenVPN server." UserInfo={NSLocalizedDescription=Failed to establish connection with OpenVPN server., me.ss-abramchuk.openvpn-adapter.error-key.message=mbed TLS: error parsing config private key : PK - Invalid key tag or value, me.ss-abramchuk.openvpn-adapter.error-key.fatal=true, NSLocalizedFailureReason=Unknown error.}

set a password configuration.privateKeyPassword = 'xxxx' Still getting an error...

angryAnt7 commented 3 years ago

I solved the problem and finally connected successfully.