比如:
vi /etc/ocserv/ocserv.conf
按i,增加一行
mtu = 1480
然后按esc,输入:wq!(包括“:”)
最后,重启ocserv就搞定了
/etc/init.d/ocserv restart