1. net-speeder安装
wget https://coding.net/u/njzhenghao/p/download/git/raw/master/net_speeder-installer.sh
bash net_speeder-installer.sh
2. 将下面这段代码放入/etc/rc.local以设置为开机启动,然后重启电脑
nohup /usr/local/net_speeder/net_speeder venet0 "ip" >/dev/null >& &
3. 检测是否运行
[root@default ~]# ping twitter.com PING twitter.com (199.16.156.198) () bytes of data.
bytes from 199.16.156.198: icmp_seq= ttl= time= ms
bytes from 199.16.156.198: icmp_seq= ttl= time= ms (DUP!)
bytes from 199.16.156.198: icmp_seq= ttl= time= ms (DUP!)
bytes from 199.16.156.198: icmp_seq= ttl= time= ms (DUP!)
bytes from 199.16.156.198: icmp_seq= ttl= time= ms
bytes from 199.16.156.198: icmp_seq= ttl= time= ms (DUP!)
bytes from 199.16.156.198: icmp_seq= ttl= time= ms (DUP!)
bytes from 199.16.156.198: icmp_seq= ttl= time= ms (DUP!)
参考网站:
http://www.phpgao.com/vps_net_speeder.html
http://www.panggua.net/net-speeder-speed-up/#0-tsina-1-60858-397232819ff9a47a7b7e80a40613cfe1