iOS ovpn error

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
boogy
OpenVpn Newbie
Posts: 2
Joined: Fri Feb 18, 2022 7:41 pm

iOS ovpn error

Post by boogy » Fri Feb 18, 2022 7:48 pm

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>

User avatar
Pippin
Forum Team
Posts: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

Re: iOS ovpn error

Post by Pippin » Fri Feb 18, 2022 10:39 pm

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
.
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp

boogy
OpenVpn Newbie
Posts: 2
Joined: Fri Feb 18, 2022 7:41 pm

Re: iOS ovpn error

Post by boogy » Sat Feb 19, 2022 9:28 am

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.

Post Reply