SSH traffic over openvpn connection freezes when I cat a file

Solution 1:

smells like mtu issue. try to lower it as described in official manual or in this blog post.

Solution 2:

This command solves it for me:

$ sudo ip link set dev tun0 mtu 1350 && echo ":)"

You can Verify tun0 settings with

$ ip a s

Cheers!


Solution 3:

Yep, it's all about MTU.

But in my case I've got a problem even more weird. At home, using an OpenVPN Windows client it freezes. But in my office it works fine.

I tried to change it on my ADSL Modem without success. At my Office I use a cable modem and other ISP.

After changing the MTU of Windows TAP adapter to 1200, it works fine. Something high than that, would freeze for me.

enter image description here

Tags:

Ssh

Openvpn