OpenVPNAdapter
OpenVPNAdapter copied to clipboard
Failure connection VPN on iOS
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".
- This issue sees in console log an iPhone when try to connect. (NetworkExtension)[50640]: interface_get_mtu:3730 SIOCGIFMTU failed: Device not configured
- 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?
- Will I can connect profile only with
excluding and , but in OpenVPN Connect all 3 aren't needed. - 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?
Hi @dmcyw,
- Could you send me your ovpn configuration and project which has this issue? I need it to replicate that problem with MTU.
- MTU can be configured using ovpn file and you don't need to parse it manually.
- 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.
- This project doesn't use
BoringSSL, these messages are related to CFNetwork API. You can follow this article to debug it.
Project Thx, @ss-abramchuk
@ss-abramchuk also to me.