Page 1 of 1

iOS ovpn error

Posted: Fri Feb 18, 2022 7:48 pm
by boogy
Hello,

I've tried to generate a new ovpn file since my old certificates expired, but when I import them on iPhone (iOS 15) and while trying to connect I keep getting the following error message : TCP recv EOF / Transport Error: Transport error on server_name : NETWORK_EOF_ERROR.

Here is a snippet of my file :

Code: Select all

dev tun
proto tcp-client
remote 'server_name'
port 1194
nobind
remote-cert-tls server
tls-client
persist-tun
persist-key
verb 4
mute 10
cipher AES-256-CBC
auth SHA1
pull
route 'ip' 'ip2'
auth-user-pass
auth-nocache
<ca>
-----BEGIN CERTIFICATE-----
//ca info
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
--cert info
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
--private key info
-----END PRIVATE KEY-----
</key>

Re: iOS ovpn error

Posted: Fri Feb 18, 2022 10:39 pm
by Pippin
Hi,
I've tried to generate a new ovpn file...
We have no idea where that came from...

I suspect you forgot something...
Please see --server args in manual 2.5:
https://build.openvpn.net/man/openvpn-2 ... vpn.8.html

Also see:
viewtopic.php?t=22603
.

Re: iOS ovpn error

Posted: Sat Feb 19, 2022 9:28 am
by boogy
This also happens on Android , I’ve tried with another Phone . The only thing that changed since the old version (which was used in 2020) are the certificates and private key, the File structure is the same.