用pptpd建了个VPN,用WinXP的vpn客户端拨上,发现不能通过它登陆MSN,但很多网站访问都没有问题的,QQ也可以登陆。猜测是mtu的问题,于是ifconfig ppp0 mtu 1496。重新登陆,一切正常,哈哈!
为了不用每次都敲一遍命令,建立/etc/ppp/ip-up.local
#!/bin/bash
/sbin/ifconfig $1 mtu 1496
当然,不要忘了给它加上可执行权限;-)。
1 Comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

您好,,我是教育网的用户,我的pptp连不上,您能不能帮我看看,谢谢http://forum.ubuntu.org.cn/about13460.html
Comment by 晓鹏 on April 21st, 2006 @ 7:15 pm