IPv6, 2.4 & Core 3 compatibility?

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
PomPomPiDoo
OpenVpn Newbie
Posts: 1
Joined: Wed Jul 28, 2021 6:02 am

IPv6, 2.4 & Core 3 compatibility?

Post by PomPomPiDoo » Wed Jul 28, 2021 6:33 am

Have a 2.4(.4) server (Ubuntu 18.04) and Core 3 Windows 10 clients (and 2.4 Linux clients to test the config).

On Linux clients everything works fine, IPv4 & IPv6.

On Windows Core-3 clients, an IPv6 connection would timeout and render "Transport Error: socket_protect error (UDP)" (OpenVPN-GUI).

But, downgrading the Windows machines to 2.4(.11), it works.

Question: is there some IPv6 compatibility issues between 2.4 and Core-3? Or should I change the config (below)?


FYI, server config ( vpn.myovpnserver.com (example) resolves in both IPv4 / IPv6 addresses)

Code: Select all

port 1234
proto udp
key-direction 0
dev tun
ca ca.crt
cert ovpnserver.crt
key ovpnserver.key
dh dh.pem
server 192.168.123.0 255.255.255.0
ifconfig-pool-persist /var/log/openvpn/ipp.txt
push "route 10.123.0.0 255.255.0.0"
push "dhcp-option DNS 1.1.1.1"
keepalive 10 120
tls-auth ta.key 0
auth SHA256
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
log-append  /var/log/openvpn/openvpn.log
verb 3
explicit-exit-notify 1
Windows / Linux clients (Linux have the start/stop scripts)

Code: Select all

client
dev tun
proto udp
remote vpn.myovpnserver.com 1234
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
auth SHA256
key-direction 1
verb 3
<ca>...</ca><cert>...</cert><key>...</key><tls-auth>...</tls-auth>
; Linux specific (script-security...)

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: IPv6, 2.4 & Core 3 compatibility?

Post by TinCanTech » Wed Jul 28, 2021 11:40 am

Please start here:
viewtopic.php?f=30&t=22603

Read the entire thread and post the details required.

socket_protect error sounds like recursive routing ..

Post Reply