I'm starting a VPN connection using Network Manager. Once the connection is established I have to change MTU in order it to work properly. For example:
sudo ifconfig ppp0 mtu 777
It is very annoying to execute this command every time I open a VPN connection. Is there any idea to create a script that would execute this command automatically once the connection is established (ppp0 interface is up)?
openconnect --mtu 1200
nor--base-mtu 1200
had any effect with a Pulse Secure VPN. – Ingo Karkat Jan 21 '21 at 10:39