Auto switch Mac os X's VPN line
by edit router files to auto switch VPN line. for chinese netizen only
{No.1 update Python to 2.7+}
check Python version: py thon -V
{No.1.1 update Python}
http://www.python.org/download/
download the dmg and install.
{No.2 download chnroutes}
https://github.com/fivesheep/chnroutes
{No.3 auto generate ip-up and ip-down files}
python chnroutes.py -p mac
{No.4 copy move file to /etc /ppp}
{No.5 add permission !! important!!}
sudo chmod a+x ip-up ip-down
{Links}
- http://code.google.com/p/chnroutes/wiki/Usage
- http://www.quanlei.com/2012/04/3117.html
Leave Comment