schwabe / ics-openvpn

OpenVPN for Android
3.31k stars 1.2k forks source link

Autoconnect fails #1581

Open AlfaSierra92 opened 1 year ago

AlfaSierra92 commented 1 year ago

General information

  1. Android TV 9
  2. Xiaomi
  3. Mi Box S
  4. OpenVPN for Android 0.7.43 (latest on Play Store)

Description of the issue

After setting a default VPN, autoconnect fails with error "Failed to open the tun interface". This problem occurs only with the latest version of the app. As the app is on android TV, I attach photos of the connection log as I cannot copy/paste. PXL_20230210_170611282

AlfaSierra92 commented 1 year ago

I attach ovpn configuration file used.

client
dev tun
proto udp
remote mxp.whiskergalaxy.com 443
verify-x509-name mxp.windscribe.com name

nobind
auth-user-pass

resolv-retry infinite

cipher AES-256-GCM
ncp-ciphers AES-256-GCM:AES-256-CBC:AES-128-GCM
auth SHA512

verb 2
mute-replay-warnings
remote-cert-tls server
persist-key
persist-tun

key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
xxxxxxxxx
-----END CERTIFICATE-----
</ca>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
xxxxxxxxx
-----END OpenVPN Static key V1-----
</tls-auth>