Allow only Custom PAC without GFW List
System and Shadowsocksx-NG version:
- macOS 10.13.3 (17D47)
- Shadowsocksx-NG 1.6.1
Expected behavior: While using Auto Mode, SS uses GFW List along with the User PAC list. However users outside China does not need GFW List. Emptying the GFW List URL in the Preference does not work and it adds it back automatically. GFW List URL option should be renamed to something like Custom List, in the Preference and main Manu. If the url textbox is empty, it should be allowed and ignored.
Actual behavior:
N/A For Feature Request
Steps to reproduce:
N/A For Feature Request
How often does this happen?
N/A For Feature Request
ss-local.log
N/A For Feature Request
Application log
N/A For Feature Request
Crash Log
N/A For Feature Request
Looking forward to this feature!
I found a way to do it and it works well.
Background
I'm located outside US and don't need GFWList, which means
- most of traffic (e.g., google.com, x.com) does not need to go through the proxy server.
- specific traffic (e.g., 163.com) needs to go through the proxy server.
My OS is MacOS. I believe other operating ysstems work in a similar way.
Steps
- Open [Edit User Rules for PAC ...]
- Add
||163.com. - Vim the file
/Users/${USER}/.ShadowsocksX-NG/gfwlist.js. - Delete other values in
rulesexcept values added in step#2.
That's all :p