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)?