Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

国内ip白名单模式的proxy设置 #9

Open
MikoyChinese opened this issue Oct 9, 2021 · 4 comments
Open

国内ip白名单模式的proxy设置 #9

MikoyChinese opened this issue Oct 9, 2021 · 4 comments

Comments

@MikoyChinese
Copy link

国内白名单的proxy设置只能用pac内固定的么?可以指向switchomega自带的proxy内的设置么?

@aglent
Copy link
Owner

aglent commented Oct 9, 2021

因为白名单pac里只有不走代理的域名,所以switchomega里需要设置switch profile 自动切换模式,并将规则列表设定为 [ 直接连接 ],默认情景模式设定为已经建好的代理(即不在白名单内的其它域名走代理线路)。

@RamboXQ
Copy link

RamboXQ commented Dec 3, 2021

借楼问下。这个模式鼓捣了半天都没搞明白。我按你说的设置,看代理客户端的log发现不管国内外都是走代理呢。这个switch profile 自动切换模式并没有用到第一步建的CNIP的PAC文件呢。
image

因为白名单pac里只有不走代理的域名,所以switchomega里需要设置switch profile 自动切换模式,并将规则列表设定为 [ 直接连接 ],默认情景模式设定为已经建好的代理(即不在白名单内的其它域名走代理线路)。

@aglent
Copy link
Owner

aglent commented Dec 3, 2021

借楼问下。这个模式鼓捣了半天都没搞明白。我按你说的设置,看代理客户端的log发现不管国内外都是走代理呢。这个switch profile 自动切换模式并没有用到第一步建的CNIP的PAC文件呢。 image

因为白名单pac里只有不走代理的域名,所以switchomega里需要设置switch profile 自动切换模式,并将规则列表设定为 [ 直接连接 ],默认情景模式设定为已经建好的代理(即不在白名单内的其它域名走代理线路)。

如果你想用国内域名白名单模式,需要在图中的【Rule List URL】填上https://git.io/whitelistpac, 并勾选 AutoProxy。

如果你想用国内IP白名单模式,SwitchyOmega 扩展里新建 pac profile 模式,填写 PAC URL:https://git.io/chinaip

但是我看你用了CFW这个代理工具,因为它是本身就有IP分流功能,所以没必要那么麻烦,直接开启CFW的系统代理就可以了,无需SwitchyOmega 扩展。

@RamboXQ
Copy link

RamboXQ commented Dec 3, 2021

@aglent 感谢回复。CFW可以用。有的时候也想用下协议专用客户端,之前都是要扶墙时手动切换,用这个自动切换也方便很多,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants