I can not connect to OpenVPN Server dual stack (IPv4+IPv6)

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
hmolina
OpenVpn Newbie
Posts: 13
Joined: Thu Apr 18, 2013 1:41 pm

I can not connect to OpenVPN Server dual stack (IPv4+IPv6)

Post by hmolina » Thu Apr 18, 2013 1:55 pm

Hi,

I cannot connect from mi i(Phone,Pad) to our server whet the server is configured to accept connections over IPv6+IPv4 and my client is using IPv4.

The service is working: clients using OpenVPN in other platforms are able to connect to the server.

The server is running OpenVPN 3.1. Protocol TCP, Port 443
The log shows:

Code: Select all

Apr 18 13:01:44 [openvpn] Re-using SSL/TLS context
Apr 18 13:01:44 [openvpn] Control Channel MTU parms [ L:1559 D:168 EF:68 EB:0 ET:0 EL:0 ]
Apr 18 13:01:44 [openvpn] Data Channel MTU parms [ L:1559 D:1450 EF:59 EB:4 ET:0 EL:0 ]
Apr 18 13:01:44 [openvpn] Local Options String: 'V4,dev-type tun,link-mtu 1559,tun-mtu 1500,proto TCPv4_SERVER,keydir 0,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
Apr 18 13:01:44 [openvpn] Expected Remote Options String: 'V4,dev-type tun,link-mtu 1559,tun-mtu 1500,proto TCPv4_CLIENT,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
Apr 18 13:01:44 [openvpn] Local Options hash (VER=V4): '2f085942'
Apr 18 13:01:44 [openvpn] Expected Remote Options hash (VER=V4): '7004d33d'
Apr 18 13:01:44 [openvpn] TCP connection established with [AF_INET6]::ffff:AAA.BBB.CCC.DDD:49387
Apr 18 13:01:44 [openvpn] TCPv6_SERVER link local (bound): [undef]
Apr 18 13:01:44 [openvpn] TCPv6_SERVER link remote: [AF_INET6]::ffff:AAA.BBB.CCC.DDD:49387
Apr 18 13:01:44 [openvpn] ::ffff:AAA.BBB.CCC.DDD TLS: Initial packet from [AF_INET6]::ffff:AAA.BBB.CCC.DDD:49387, sid=db2f85f3 ad764afe
Apr 18 13:02:14 [openvpn] ::ffff:AAA.BBB.CCC.DDD Connection reset, restarting [0]
Apr 18 13:02:14 [openvpn] ::ffff:AAA.BBB.CCC.DDD SIGUSR1[soft,connection-reset] received, client-instance restarting
Apr 18 13:02:14 [openvpn] TCP/UDP: Closing socket

Sniffing the network, I read the packet comming from the client, and then the server replies. But nothing more. The client repeats two times the attempt to connect, the server replies, and after some time, the client in the iOS devices fails by timeout.

If I changes to listen just IPv4 traffic in the server, everything works well.
I can not test just with IPv6 (mi ISP do nots provides this technology :-( )

Any Idea?

I thing the problem is in the client, because the other clients (Windows+MacOS) works.

Thanks in advance

Post Reply