根据IP做路由规则,国外IP使用VPN网关,国内IP使用另一网关
IP表
http://ftp.apnic.net/apnic/dbase/data/country-ipv4.lst
目前chnroutes项目中已编写Python脚本可以将IP遍历生成路由规则,详见:
http://code.google.com/p/chnroutes/wiki/Usage
今天刚配置完,试用。
IP表
http://ftp.apnic.net/apnic/dbase/data/country-ipv4.lst
目前chnroutes项目中已编写Python脚本可以将IP遍历生成路由规则,详见:
http://code.google.com/p/chnroutes/wiki/Usage
今天刚配置完,试用。
