You are here:Home > Best VPN > Mac (OSX) VPN Tips - Domestic and International Access Diversion

Mac (OSX) VPN Tips - Domestic and International Access Diversion

Summary:Since I started using VPN on my Mac, scientific internet access has made my little Mac full of vitality. Bart, it also brings a big problem that acces…
horizonVPN Official website sandVPN Official website VPNhood Official website hailianVPN Official website
GoduckVPN Official website Fast Wind VPN Official website Fast Orange VPN Official website(Recommend) NetShekanVPN Official website

This book is available as an e-book in EPUB format

PayPal sponsors this website for any amount. I will send you an EPUB e-book via email. Please send me an email

Email: shuxueha@outlook.com

PayPal: https://paypal.me/zhipinglei

You can also scan the PayPal QR code below to sponsor

You can also purchase this book on Amazon: click to enter the Amazon official website

Since I started using VPN on my Mac, scientific internet access has made my little Mac full of vitality. Bart, it also brings a big problem that accessing domestic websites can be particularly slow when using VPN. Do I have to disconnect every time I visit China and reconnect when I visit abroad? I can't accept it!!! In fact, most VPN client software for Windows integrates the function of domestic and international traffic diversion, which is very convenient. However, there is currently no similar software on Mac that has this function. Well, we can only do it ourselves and have enough food and clothing.

What are the benefits of domestic and international access diversion under Mac?

After connecting to VPN, it will not affect the speed of accessing domestic websites.

Some VPNs offer data packages, and if you don't split the traffic, you can't afford to lose a month's worth of data!

How to achieve domestic and international VPN streaming on Mac?

The diversion method for Mac comes from the chnroute project, and we sincerely thank the author.

Project address: https://github.com/jimmyxu/chnroutes

This project is not only for Mac, but also supports Windows/Linux and Linux based routers.

Below are the usage steps for Mac:

1. Firstly, you need to create a VPN and set up PPTP. I have previously introduced a collection of free VPNs, which can be viewed here;

2. Download the chnroutes. py file, for example, save it to the download link.

3. Open the Mac terminal, enter the directory where the downloaded file is located, execute Python chnroutes. py - p Mac, and two files will be generated in this directory, ip up and ip down;

macbookair:~ Peter$ cd Downloads

liustekiair:Downloads Peter$ python chnroutes.py -p mac

Fetching data from apnic.net, it might take a few minutes, please wait…

For pptp on mac only, please copy ip-up and ip-down to the /etc/ppp folder,don’t forget to make them executable with the chmod command.

4. Open Finder to download, you can find the two files that were just generated, select and copy these two files; Press the shortcut key command+shift+g, enter/etc/ppp in the pop-up area, enter this directory, and paste;

5. Return to the terminal and enter the directory (/etc/ppp) to execute: sudo chmod a+x ip up ip down

macbookair:Downloads Peter$ cd /etc/ppp

liustekiair:ppp Peter$ sudo chmod a+x ip-up ip-down

(This step may prompt for the system password)

6. Okay, okay, Done! Connect to VPN and test it out.

How to test for success?

A relatively simple testing method is to open two IP address query websites. If everything is normal, after connecting to the VPN, opening IP138 will display your original IP address (you are still in China), and opening this website will display the IP address of the VPN server (you have gone abroad).

For a more high-end option, you can input traceroute www.baidu.com and traceroute www.youtube.com on the terminal to see the routing situation when accessing domestic and foreign websites.

If I don't want to divert, how can I break through?

Just delete the two files under/etc/ppp directly.


High-speed VPN Fast VPN Preferred Accelerator VPN Reliable VPN
High quality VPN Old fashioned VPN Stable VPN(Recommend) Smooth VPN
Share with Friends: