OpenVPN MTU setting

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Nightbridge
DD-WRT User


Joined: 09 Jan 2017
Posts: 76
Location: Dublin

PostPosted: Tue Mar 05, 2024 14:23    Post subject: OpenVPN MTU setting Reply with quote
Hi all, I am having issues with MTU settings in my VPN config.

My setup is made of two WRT1200ACv2 running 51362, both of them are behind the provider's router. I have made some ping tests directly on the provider's router to check the MTU, which is 1464, as from 1465 I get packet loss.

I set that value in the server/client MTU settings but it is not working well at all. I have noticed that setting the values to 1420 helps, but still not the best working configuration.

I remember there is some other OpenVPN data to consider in the MTU settings, so maybe that's why 1464 is not working. Any maths that needs to be done to subtract from 1464 a specific value?
Should I use Tunnel UDP Fragment or Tunnel UDP MSS Fix?

I went through several guide versions for OpenVPN configurations here on the forum, but I couldn't find what I need.

Thank you in advance!
Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3005
Location: Germany

PostPosted: Tue Mar 05, 2024 14:32    Post subject: Reply with quote
Quote:
I went through several guide versions for OpenVPN configurations here on the forum, but I couldn't find what I need.


Well that's strange, I just looked in the server guide and found it within 2 seconds Wink

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
Nightbridge
DD-WRT User


Joined: 09 Jan 2017
Posts: 76
Location: Dublin

PostPosted: Tue Mar 05, 2024 15:16    Post subject: Reply with quote
Wow thank you! Unfortunately they were not of any help!
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1958

PostPosted: Tue Mar 05, 2024 15:39    Post subject: Reply with quote
Any reason for running such an old build?
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Nightbridge
DD-WRT User


Joined: 09 Jan 2017
Posts: 76
Location: Dublin

PostPosted: Tue Mar 05, 2024 16:07    Post subject: Reply with quote
That’s not too old though, isn’t it? Confused
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6447
Location: UK, London, just across the river..

PostPosted: Tue Mar 05, 2024 16:18    Post subject: Reply with quote
yep quite old build 14-15 months old..lots of vital updates and fix's...current build 55262...
default OpenVPN MTU value is 1400 or less...must be in the guide...
better update anyway...

"Should I use Tunnel UDP Fragment or Tunnel UDP MSS Fix?" -- no

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Nightbridge
DD-WRT User


Joined: 09 Jan 2017
Posts: 76
Location: Dublin

PostPosted: Tue Mar 05, 2024 16:31    Post subject: Reply with quote
Thanks Alozaros. I’ll tell you what I have tested:

In first place I left the 0 “not set” value, that was not working so I switched to 1500, then manual 1400, then 1440, 1492 etc. I have tried many possible values, some goes better than others, but still not a fluid experience through the tunnel
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