使用路由表为VPN加速

来源:http://www.vpncup.com/node/40

由于连接上VPN后,默认所有流量都会走VPN线路,为了访问国内网络速度不变,可以使用设置路由表的方法解决,但是为了使用VPN加密及匿名的话,就没有必要设置路由表了。
其中Google项目在这里http://code.google.com/p/chnroutes,有兴趣的可以研究下,包括各个平台的设置方法。

以下是VPNCUP制作的在Windows平台下添加路由表的批处理文件。
文件下载---脚本提取生成日期2010-8-14

使用方法介绍:
其中包括2个文件,vpnadd.bat文件是添加路由表文件,vpndel.bat文件是删除路由表文件,脚本提取生成来自 http://ftp.apnic.net/apnic/dbase/data/country-ipv4.lst,但是最后四个网段是用来登录MSN的 (注意:win7及vista需要管理员权限执行批处理文件),以下分两种情况设置:
1:当使用路由上网(非拨号,指设置网关来上网的)
修改vpnadd.bat的"set gw=192.168.1.1",将192.168.1.1替换成你的网关,然后执行一次就OK了,由于添加的路由信息使用的是"route add"命令,所以重新开机后添加的路由表会消失,可以把"route add"修改为"route -p add",这样就可以不用每次开机都执行批处理文件了,当然是可以使用vpndel.bat删除以上添加的路由表的,但是理论上不删也是不影响到什么。
2:当使用的是拨号上网,会有点麻烦。
修改vpnadd.bat的"set gw=192.168.1.1",将192.168.1.1替换成你的IP地址。
而且当你的上网IP变了之后.需要更新路由表。也就是需要删除原来的路由表。
可以手工操作,方法是进入运行下面的命令
"route del 之前上网的IP"
并更改批处理文件后,重新执行一次…


42 条评论:

匿名 说...

cheap tramadol buy tramadol hcl 50 mg - tramadol hcl pregnancy

匿名 说...

xanax online xanax the pills - xanax get you high

匿名 说...

buy tramadol online online-viagra-tramadol - tramadol addiction in gaza

匿名 说...

xanax online xanax side effects memory loss - what is xanax drug used for

匿名 说...

buy tramadol online tramadol hcl 50 mg drug interactions - order tramadol online reviews

匿名 说...

tramadol online tramadol dosage dogs bone cancer - buy tramadol online with paypal

匿名 说...

buy carisoprodol carisoprodol soma indications - carisoprodol soma watson

匿名 说...

buy tramadol online tramadol 50 mg iv - tramadol hcl controlled substance

匿名 说...

buy tramadol online where to order tramadol online - tramadol hcl vicodin

匿名 说...

buy cheap tramadol but tramadol online usa - tramadol dosage adults

匿名 说...

buy xanax online forum drug interactions lexapro xanax - xanax side effects for long term use

匿名 说...

cheap xanax online xanax dosage- yellow bars - xanax side effects on the brain

匿名 说...

xanax online 1mg xanax 3 times day - xanax generic pictures

匿名 说...

buy cheap cialis online no prescription viagra or cialis online - generic cialis best price

匿名 说...

cialis online cialis online fast shipping - buy cialis online canadian pharmacy

匿名 说...

buy cialis online cialis online no rx - cialis from canadian pharmacy online

匿名 说...

buy cialis online cialis 20mg online kaufen - cialis customer reviews

匿名 说...

tadalafil online cialis daily vs. as needed - buy cialis online eu

匿名 说...

buy tramadol can you buy tramadol legally online - tramadol dosage 12 pound dog

匿名 说...

http://landvoicelearning.com/#51438 tramadol for dogs how long to take effect - buy tramadol online in australia

匿名 说...

buy tramadol tramadol withdrawal back pain - tramadol dosage iv

匿名 说...

legal buy tramadol online buy tramadol online no prescription overnight - buy tramadol health solutions network

匿名 说...

http://buytramadolonlinecool.com/#96430 tramadol 50mg vs vicodin - us tramadol online pharmacy

匿名 说...

http://landvoicelearning.com/#97734 tramadol hcl 50mg 627 - tramadol for dogs - crush

匿名 说...

buy tramadol buy tramadol no prescription usa - order tramadol phone

匿名 说...

ways to buy ativan online ativan not working - ativan withdrawal with diazepam

匿名 说...

http://buytramadolonlinecool.com/#63102 tramadol dosage in humans - can you buy tramadol over counter spain

匿名 说...

buy ativan online highest dosage ativan - cheap lorazepam no prescription

匿名 说...

buy ativan online lorazepam 1mg - there generic ativan

匿名 说...

buy tramadol online high on tramadol hcl - tramadol yahoo

匿名 说...

where to buy tramadol tramadol hcl vs norco - tramadol 50mg tablets an 627

匿名 说...

http://staam.org/#37708 mail order tramadol - buy tramadol online no prescription cheap

匿名 说...

http://ranchodelastortugas.com/#51462 xanax side effects numbness - xanax side effects dogs

匿名 说...

http://ranchodelastortugas.com/#72895 lexapro vs xanax for anxiety - xanax effects testosterone

匿名 说...

http://bayshorechryslerjeep.com/#6828 cheap xanax online no rx - xanax pill number

匿名 说...

viagra espaГ±a cialis comprar cialis

匿名 说...

acheter cialis comprare viagra senza ricetta viagra

匿名 说...

buy misoprostol australia - order misoprostol cytotec - buy misoprostol australia

匿名 说...

buy tramadol ultram tramadol online cod - buy tramadol without a script

匿名 说...

australia cialis generic cialis en france cialis paris

匿名 说...

australia cialis cialis in the australia cialis online pharmacy

匿名 说...

can you buy ambien mexico buy ambien american express - buy ambien no prescription overnight delivery