Few days ago I got this error message in my OpenVPN server. Although, this error message didn’t causing any connection issues between my client and server, but I really need to stop this message from spamming my logs.
After my long searching in Google, I found nothing other than people saying “unfortuantely, that’s unsupported ipv6 in the tunnel”. But, now I have a good news for everyone who ‘re facing with this issue. Someone from OpenVPN forum saying to do not bind the TCP/IP v6 protocol to the tun or tap-win32 adapters, after this fix the error message should not appear any longer.
This is a sample of the error message from my logs.
root@vpn2 [/etc/openvpn]# tail -n 20 joglovpn/logs/openvpn.log
Mon Mar 12 05:04:35 2012 vpnclient/180.246.105.134:57210 Need IPv6 code in mroute_extract_addr_from_packet
Mon Mar 12 05:04:36 2012 vpnclient/180.246.105.134:57210 Need IPv6 code in mroute_extract_addr_from_packet
Mon Mar 12 05:04:36 2012 vpnclient/180.246.105.134:57210 Need IPv6 code in mroute_extract_addr_from_packet
The temporary solution is quite simple, for Windows user you can disable TCP/IPv6 under Windows Network Connection Setting.
- Go to Control Panel –> Network and Internet –> Network Connections
- Under the Network Connection window, choose your Tun/Tap Local Are Connection used by OpenVPN (typically its name something like TAP-WIN32 Adapter)
- Right click on the selected connection
- Uncheck Internet Protocol Version 6 (TCP/IPv6)
- Press “Ok” button
Back to your OpenVPN GUI, try to connect to your OpenVPN server. Now from your server side check the log to ensure your error resolved.
See Video Tutorial How to Fix OpenVPN Error Message “Need IPv6 code in mroute_extract_addr_from_packet”
This solution must be done from client side, so if you run OpenVPN for public you should contact your client to disable their TCP/IPv6 under the tun/tap-win32 adapter.
Furthermore, if you want to patch the OpenVPN server itself, the file you’re looking for is mroute.c, for OpenVPN 2.2.1 code base you can modify it around line 159.
User Related Search
- Need IPv6 code in mroute_extract_addr_from_packet
- openvpn need ipv6 code in mroute_extract_addr_from_packet
- need ipv6 code in mroute_extract_addr_from_packet openvpn
- openvpn disable ipv6
- ssh need ipv6 code in mroute_extract_addr_from_packet
- openvpn suppress need ipv6 code in mroute_extract_addr_from_packet
- openvpn как отключить ipv6
- ovpn-server Need IPv6 code in mroute_extract_addr_from_packet
- openvpn need ipv6 code in mroute_extract_addr_from_packe
- openvpn mroute_extract_addr_from_packet