Openvpn 2.4 using udpv4 only

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
dickuk
DD-WRT Novice


Joined: 23 Jan 2011
Posts: 25

PostPosted: Fri Feb 16, 2018 9:34    Post subject: Openvpn 2.4 using udpv4 only Reply with quote
Hi

I have spent ages looking around for a fix for this, but can only find that 'enabling IPV6 will fix it'

I don't really want to enable IPV6 on my R7000, so is there any way to get openvpn 2.4 to work with V4 only?

I have changed 'proto udp' to 'proto udp4' but still get the error 'ifconfig: socket: Address family not supported by protocol'

I guess my other option is to roll back to Kong version with Openvpn 2.3, but I cannot find any old versions online.

Any help would be appreciated

Thanks
Sponsor
dickuk
DD-WRT Novice


Joined: 23 Jan 2011
Posts: 25

PostPosted: Fri Feb 16, 2018 10:47    Post subject: Reply with quote
For anyone having the same issue, I think I have a fix.

The OpenVpn server was sending IPV6 commands back even though I set the client to udp4.

To fix this I added the following lines to the openvpn.conf file :

pull-filter ignore "ifconfig-ipv6"
pull-filter ignore "route-ipv6"
pull-filter ignore "tun-ipv6"

The VPN now ignores the IPv6 commands and comes up Smile
Xeon2k8
DD-WRT Guru


Joined: 11 Feb 2016
Posts: 1288

PostPosted: Fri Feb 16, 2018 11:03    Post subject: Reply with quote
Unofficial mirror of Kong's build:
http://ddwrt-kong.clonevince.fr

Sorry can't help you with the actual fix

Edit: Ah good to know that you sorted it out

_________________
R6400v2 (boardID:30) - Kong 36480 running since 03/09/18 - (AP - DNSMasq - AdBlocking - QoS)
R7800 - BS 31924 running since 05/26/17 - (AP - OpenVPN Client - DNSMasq - AdBlocking - QoS)
R7000 - BS 30771 running since 12/16/16 - (AP - NAS - FTP - SMB - OpenVPN Server - Transmission - DDNS - DNSMasq - AdBlocking - QoS)
R6250 - BS 29193 running since 03/20/16 - (AP - NAS - FTP - SMB - DNSMasq - AdBlocking)
dickuk
DD-WRT Novice


Joined: 23 Jan 2011
Posts: 25

PostPosted: Fri Feb 16, 2018 11:23    Post subject: Reply with quote
Xeon2k8 wrote:
Unofficial mirror of Kong's build:
http://ddwrt-kong.clonevince.fr

Sorry can't help you with the actual fix

Edit: Ah good to know that you sorted it out


Thanks for the link to the older versions Smile
Therameatelf
DD-WRT User


Joined: 31 Jan 2016
Posts: 74

PostPosted: Wed Feb 21, 2018 8:41    Post subject: Reply with quote
After a year or so of battling this and resorting to v2.3 builds, adding the ignore ipv6 lines to the config seems to have resolved the issues I had. Thanks for the post.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum