Hi all, my .ovpn client profile is:
client
dev tun
proto tcp
remote serverVPN.domain.com 443
verify-x509-name "C=com, L=City, O=Organization, CN=serverVPN, emailAddress=
emailaddress@domain.com"
route remote_host 255.255.255.255 net_gateway
resolv-retry infinite
nobind
;persist-key
;persist-tun
auth-user-pass
cipher AES-128-CBC
auth MD5
comp-lzo no
route-delay 4
verb 3
reneg-sec 86400
<ca>
Certificate:
...
...
...
With this configuration the error is:
CONNECTION FAILED - There was an error attempting to connect the selected server.
Error message: option_error: sorry, unsupported options present in configuration: UNKNOWN/SUPPORTED OPTIONS
Please refer to connection logs for more details.
___________________________________________________________________
In the log I found the options that give the error, so I commented them out (route-delay 4), after that the error changes to:
CONNECTION TIMEOUT
Connection failed to establish within given time
In the log:
[Nov 01, 2023, 17:19:10] Sending Peer Info:
IV_VER=3.8.2connect1
IV_PLAT=ios
IV_NCP=2
IV_TCPNL=1
IV_PROTO=990
IV_MTU=1600
IV_CIPHERS=AES-128-CBC:AES-192-CBC:AES-256-CBC:AES-128-GCM:AES-192-GCM:AES-256-GCM:CHACHA20-POLY1305
IV_LZO=1
IV_LZO_SWAP=1
IV_LZ4=1
IV_LZ4v2=1
IV_COMP_STUB=1
IV_COMP_STUBv2=1
IV_GUI_VER=net.openvpn.connect.ios_3.4.0-5457
IV_SSO=webauth,openurl,crtext
[Nov 01, 2023, 17:19:10] VERIFY OK: depth=1, /C=com/L=City/O=Organization/CN=Common Name/emailAddress=
emailaddress@domain.com, signature: RSA-SHA256
[Nov 01, 2023, 17:19:10] VERIFY OK: depth=1, /C=com/L=City/O=Organization/CN=Common Name/emailAddress=
emailaddress@domain.com, signature: RSA-SHA256
[Nov 01, 2023, 17:19:10] SSL Handshake: peer certificate: CN=ServerVPN, 2048 bit RSA, cipher: DHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=DH Au=RSA Enc=AESGCM(256) Mac=AEAD
[Nov 01, 2023, 17:19:10] Session is ACTIVE
[Nov 01, 2023, 17:19:10] EVENT: GET_CONFIG
[Nov 01, 2023, 17:19:10] Sending PUSH_REQUEST to server...
[Nov 01, 2023, 17:19:10] OPTIONS:
0 [route] [remote_host] [255.255.255.255] [net_gateway]
1 [route-gateway] [10.110.8.4]
2 [route-gateway] [10.110.8.4]
3 [topology] [subnet]
4 [ping] [10]
5 [ping-restart] [120]
9 [route] [172.16.27.0] [255.255.255.0]
20 [dhcp-option] [DNS] [IP Server DNS 1]
21 [dhcp-option] [DNS] [IP Server DNS 2]
22 [dhcp-option] [DOMAIN] [domain.com]
23 [ifconfig] ["Pool address VPN"] [255.255.255.0]
[Nov 01, 2023, 17:19:10] PROTOCOL OPTIONS:
cipher: AES-128-CBC
digest: MD5
key-derivation: OpenVPN PRF
compress: ANY
peer ID: -1
[Nov 01, 2023, 17:19:10] EVENT: ASSIGN_IP
[Nov 01, 2023, 17:19:10] NIP: preparing TUN network settings
[Nov 01, 2023, 17:19:10] NIP: init TUN network settings with endpoint: serverVPN.domain.com
[Nov 01, 2023, 17:19:10] NIP: adding IPv4 address to network settings 10.110.8.100/255.255.255.0
[Nov 01, 2023, 17:19:10] NIP: adding (included) IPv4 route "Pool address VPN"
[Nov 01, 2023, 17:19:10] NIP: adding DNS "IP Server DNS 1"
[Nov 01, 2023, 17:19:10] NIP: adding DNS "IP Server DNS 2"
[Nov 01, 2023, 17:19:10] NIP: adding match domain domain.com
[Nov 01, 2023, 17:19:10] NIP: allowFamily(AF_INET, 1)
[Nov 01, 2023, 17:19:10] NIP: allowFamily(AF_INET6, 1)
[Nov 01, 2023, 17:19:10] NIP: adding DNS specific routes:
[Nov 01, 2023, 17:19:10] NIP: adding (included) IPv4 route "IP Server DNS 1"/32
[Nov 01, 2023, 17:19:10] NIP: adding (included) IPv4 route "IP Server DNS 2"/32
[Nov 01, 2023, 17:19:10] Connected via NetworkExtensionTUN
[Nov 01, 2023, 17:19:10] Client exception in transport_recv: crypto_alg: MD5: bad digest for data channel use
[Nov 01, 2023, 17:19:10] Client terminated, restarting in 2000 ms...
[Nov 01, 2023, 17:19:12] EVENT: RECONNECTING
[Nov 01, 2023, 17:19:12] EVENT: RESOLVE
[Nov 01, 2023, 17:19:12] Contacting "Public IP address":443 via TCP
[Nov 01, 2023, 17:19:12] EVENT: WAIT
[Nov 01, 2023, 17:19:12] Connecting to [serverVPN.domain.com]:443 (serverVPN.domain.com) via TCP
[Nov 01, 2023, 17:19:12] EVENT: CONNECTING
[Nov 01, 2023, 17:19:12] Tunnel Options:V4,dev-type tun,link-mtu 1556,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher AES-128-CBC,auth MD5,keysize 128,key-method 2,tls-client
[Nov 01, 2023, 17:19:12] Creds: Username/Password
___________________________________________________________________
and repeats connection attempts N times until it times out
What could be the error?
Thanks 1000 for any help.