chnroutes-go a tool to fetch china ip range from APNIC(http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest) usage go get github.com/fangdingjun/chnroutes-go $GOPATH/bin/chnroutes-go after finished, there are 3 files generated on current directory ipnet_cn.txt: the ip range file, per line look like this 192.168.1.0/24 routes_add.sh: a shell script to help to add route on Linux use `ip route -batch` command routes_del.sh a shell script to help to delete route add by routes_add.sh