Execute a script after a VPN connection is started
Create a script in /etc/network/if-up.d
, containing
#!/bin/sh
if [ "$IFACE" = "ppp0" ]; then
ifconfig ppp0 mtu 777
fi
and make it executable.
Create a script in /etc/network/if-up.d
, containing
#!/bin/sh
if [ "$IFACE" = "ppp0" ]; then
ifconfig ppp0 mtu 777
fi
and make it executable.