Problem with MTU?

This forum is for admins who are looking to build or expand their OpenVPN setup.

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
sptvar
OpenVpn Newbie
Posts: 1
Joined: Sat Jun 04, 2022 9:41 pm

Problem with MTU?

Post by sptvar » Sat Jun 04, 2022 9:51 pm

Hi

I have a linux server with Openvpn

And I have clients using Openvpn on mobile phones.

When connected via GSM operator - everything works well.

When connected via Wifi - there are problems with opening certain resources (for example, Instagram)
WiFi router connected to the Internet via PPTP (mtu 1400)

I tried different combinations of fragment , mssfix , tun-mtu, link-mtu options - but didn't find a working option.

I think the problem is with packet fragmentation. How to solve it correctly?

zxun
OpenVPN User
Posts: 24
Joined: Mon Jan 04, 2021 2:26 am

Re: Problem with MTU?

Post by zxun » Mon Jun 06, 2022 10:34 am

how about these (you can shrink it further to 1350 or 1300)

Code: Select all

tun-mtu 1400
txqueuelen 1000
fragment 0
mssfix 0

Post Reply