Skip to content

tinkernels/bypass-cn-pac

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bypass CN PAC

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 generate whitelist.pac file, remember to replace SOCKS5 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

About

PAC for bypass CN IP

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.2%
  • Python 2.4%
  • HTML 0.4%