Steps:
wget http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest -O data/delegated-apnic-latest.txt
- Run
python3 main.py -o whitelist.pac -p "SOCKS5 X.X.X.X:XXXX; SOCKS X.X.X.X:XXXX;"
to generatewhitelist.pac
file, remember to replaceSOCKS5 X.X.X.X:XXXX; SOCKS X.X.X.X:XXXX;
with your own proxy
P.S. all IPv6 addresses will return DIRECT
P.P.S. can be used as macOS system Automatic Proxy Configuration