ShadowsocksX-NG icon indicating copy to clipboard operation
ShadowsocksX-NG copied to clipboard

Allow only Custom PAC without GFW List

Open neontorrent opened this issue 8 years ago • 2 comments

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

neontorrent avatar Mar 06 '18 20:03 neontorrent

Looking forward to this feature!

HouJP avatar Feb 14 '25 02:02 HouJP

I found a way to do it and it works well.

Background

I'm located outside US and don't need GFWList, which means

  1. most of traffic (e.g., google.com, x.com) does not need to go through the proxy server.
  2. 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

  1. Open [Edit User Rules for PAC ...]
  2. Add ||163.com.
  3. Vim the file /Users/${USER}/.ShadowsocksX-NG/gfwlist.js.
  4. Delete other values in rules except values added in step#2.

That's all :p

HouJP avatar Feb 14 '25 15:02 HouJP