Every time I log in to my VPN server via ppp, I must change the MTU to 1492 using the following method:

ifconfig ppp0 mtu 1492

If I do not do this, then random websites will simply hang up and never load. I must do this every single time I log into the server. Is there anyway to set this permanently?

I am fairly new to Linux (at least settings like this, I just found this command after doing a Google search), so please be as specific as possible!


Try add the following to the /etc/sysctl.conf

net.ipv4.ip_no_pmtu_disc = 1

and then invoke sysctl -p

i hope this works for you