OpenVPNAdapter icon indicating copy to clipboard operation
OpenVPNAdapter copied to clipboard

Failure connection VPN on iOS

Open dmcyw opened this issue 7 years ago • 3 comments

I implemented VPN client by using your instruction, but have some issues when try to connect. The framework had installed using "Carthage" and branch "master".

  1. This issue sees in console log an iPhone when try to connect. (NetworkExtension)[50640]: interface_get_mtu:3730 SIOCGIFMTU failed: Device not configured
  2. MTU need to configure manually or you made this work automatically using open file? Can I just insert my ovpn file or do I need to implement parsing?
  3. Will I can connect profile only with excluding and , but in OpenVPN Connect all 3 aren't needed.
  4. Operation failed within the library SSL.
[BoringSSL] boringssl_session_errorlog(224) [C1.1:2][0x102a26540] [boringssl_session_read] SSL_ERROR_SSL(1): operation failed within the library
[BoringSSL] boringssl_session_handshake_error_print(205) [C1.1:2][0x102a26540] 4339174984:error:100000d7:SSL routines:OPENSSL_internal:SSL_HANDSHAKE_FAILURE:/BuildRoot/Library/Caches/com.apple.xbs/Sources/boringssl/boringssl-109.200.32/ssl/ssl_lib.cc:1081:

How I can resolve these issues?

dmcyw avatar Aug 13 '18 19:08 dmcyw

Hi @dmcyw,

  1. Could you send me your ovpn configuration and project which has this issue? I need it to replicate that problem with MTU.
  2. MTU can be configured using ovpn file and you don't need to parse it manually.
  3. OpenVPNAdapter is just a wrapper over original openvpn3 library. Thus you can use any appropriate combination of settings, you just need to provide configuration supported by openvpn3.
  4. This project doesn't use BoringSSL, these messages are related to CFNetwork API. You can follow this article to debug it.

ss-abramchuk avatar Aug 20 '18 06:08 ss-abramchuk

Project Thx, @ss-abramchuk

dmcyw avatar Aug 20 '18 13:08 dmcyw

@ss-abramchuk also to me.

David699 avatar Oct 17 '18 12:10 David699