bug in OpenVPN protocol selection

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
tedm
DD-WRT Guru


Joined: 13 Mar 2009
Posts: 555

PostPosted: Tue May 11, 2021 7:33    Post subject: bug in OpenVPN protocol selection Reply with quote
When the protocol is selected for OpenVPN the dropdown option is "udp" or "tcp" This generates a

proto udp

or

proto tcp

However, that then generates a warning in the OpenVPN log that says:

W --mtu-disc is not supported on this OS

I believe the correct config entry should be

proto tcp4

or

proto udp4

And the dropdown should be modified to udp4/tcp4 as well.

See the discussion in this OpenVPN ticket:

https://community.openvpn.net/openvpn/ticket/909

Comments please? If there's no objection I'll file this as a bug in svn
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Tue May 11, 2021 7:48    Post subject: Reply with quote
The dropdown has udp4 and tcp4.
udp and tcp should also be possible as VPN then tries both.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Tue May 11, 2021 7:56    Post subject: Reply with quote
The documentation also states you should use udp4 or tcp4.

In the next patch round default values will also be changed from udp to udp4

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
tedm
DD-WRT Guru


Joined: 13 Mar 2009
Posts: 555

PostPosted: Tue May 11, 2021 8:01    Post subject: Reply with quote
OFFS!! Right in front of me!!
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Tue May 11, 2021 8:15    Post subject: Reply with quote
I did not have to check if it is there because I added it Smile

Not only because of this bug but also because it tries IPv6 first and if you do not have it enabled you also get all kinds of warnings Sad

The next patch round will also add a setting in the server for allowing client internet until now you had to add the firewall rule yourself, makes life easier Smile

But it still needs testing and I have to upgrade my build system.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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 cannot attach files in this forum
You cannot download files in this forum