A ShadowSocks Pac file Generator. Generate Pac file automaticlly base on your shadowsocks-gui config file.
- Install python from https://www.python.org/.
- Download newest ShadowSocks-gui from ShadowSocks, version 2.3 or higher required. Run ShadowSocks-gui and configure your server. Make sure it generate a config file.
- Clone this project into your ShadowSocks-gui folder:
git clone https://github.com/foryoung365/ShadowSocksPac.git
-
Run GenPac.py and wait a few seconds while pac.txt generating:
GenPac.py -c[ConfigFileName]
-
Copy pac.txt to your ShadowSocks-gui folder. Open ShadowSocks-gui and select pac mode.
-
Done.
- Download newest ShadowSocks-gui from ShadowSocks, version 2.3 or higher required. Run ShadowSocks-gui and configure your server. Make sure it generate a config file.
- Copy GenPac.exe to your ShadowSocks-gui folder.
- Run GenPac.exe and wait a few seconds while pac.txt generating.
- Open ShadowSocks-gui and select pac mode.
- Done.