
" 3: tun0: mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000 "Ĭa /etc/openvpn/key/pivpn01_CA.crt #ca certĬode: Select all Mon Oct 16 19:45:28 2017 us=869299 Initialization Sequence Completed Rtt min/avg/max/mdev = 56.838/56.838/56.838/0.000 msĬurrently " ip link show dev tun0 "shows an MTU of 1500 on both ends wich looks incorrect to me: The client MTU seems to be 1492 instead of 1500 and following packet size, 1464, appears to be the maximum ping statistics -ġ packets transmitted, 1 received, 0% packet loss, time 0ms Next I check both ends with " ping -M do -c 1 -s 1472 ". I started checking my eth0 devices ( both server and client ) and both show: "2: eth0: mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000"
#PRITUNL UNRAID SETUP PC#
Therefore seeking help from community, basically what to do when MTU size on both ends differs ?Īs a side note openvpn 2.4.3 and 2.4.4 is used on debian stretch platforms ( client: regular PC and server: NanoPiNEO2 )

My first hunch is I should use parameters like : " link-mtu, tun-mtu, mssfix and maybe more ". One end ( server ) has MTU of 1500, while the client's MTU size is: 1492. My goal is to have a proper configuration, so I will have a stable ( read: fast ) connection by default without the need of rebooting. Yet I am facing an MTU issue as I frequently experience slow VPN performance, but after rebooting one end ( usually client ) the performance usually is OK after 1-3 reboots. I am getting used to ovpn ( and VPN in general ) little by little.
