amazon ec2 pptp速度慢

sudo iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE

sudo iptables -A FORWARD -p tcp --syn -s 192.168.0.0/24 -j TCPMSS --set-mss 1356
sudo iptables -I FORWARD -p tcp --syn -i ppp+ -j TCPMSS --set-mss 1356

 

http://www.linzhihao.cn/archives/401

http://wdj01.blog.51cto.com/1059856/521113

http://www.rootop.org/pages/2913.html

你可能感兴趣的:(amazon ec2 pptp速度慢)