schwabe / ics-openvpn

OpenVPN for Android
3.31k stars 1.2k forks source link

Can not use class E IP addresses for VPN #1573

Closed Manah7 closed 1 year ago

Manah7 commented 1 year ago

General information

  1. Android Version : 13
  2. Android Vendor
  3. Device : Oppo X3 Lite (CPH2145)
  4. Play store version

Description of the issue

Unlike my computer's client, I cannot connect to my VPN when the VPN's IP address is set to class E (240.0.0.0–255.255.255.254). Any other address (public or private) works. There are no errors in the server logs.

Log (if applicable)

13:27:09.086 -- ----- OpenVPN Start -----

13:27:09.086 -- EVENT: CORE_THREAD_ACTIVE

13:27:09.089 -- OpenVPN core 3.git::d3f8b18b:Release android arm64 64-bit PT_PROXY

13:27:09.093 -- Frame=512/2048/512 mssfix-ctrl=1250

13:27:09.097 -- EVENT: CORE_THREAD_ERROR info='PKey::parse_pem: error in private key:: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt / error:23077074:PKCS12 routines:PKCS12_pbe_crypt:pkcs12 cipherfinal error / error:2306A075:PKCS12 routines:PKCS12_item_decrypt_d2i:pkcs12 pbe ...'

Configuration file

client
proto udp
explicit-exit-notify
remote [[anonymized]] 1194
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name [[anonymized]] name
auth SHA256
auth-nocache
cipher AES-128-GCM
tls-client
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
ignore-unknown-option block-outside-dns
setenv opt block-outside-dns
verb 3
<ca>
[[anonymized]]
</ca>
<cert>
[[anonymized]]
</cert>
<key>
[[anonymized]]
</key>
<tls-crypt>
[[anonymized]]
</tls-crypt>