[other] 系统代理中,如何排除不以192.168开头的所有地址?
Tofloor
poster avatar
Cnyg
deepin
2023-11-16 20:49
Author

我想实现的功能是,除了 192.168 开头的 IP 地址通过代理访问内网,其他的IP段 和 域名均直接连接互联网。

设想是 在系统代理的 排除列表 添加 除192.168 开头以外的地址,但不知道如何写表达式。

Reply Favorite View the author
All Replies
神末shenmo
deepin
Spark-App
2023-11-16 21:27
#1

你装个Clash然后写规则吧,系统代理不好用

Reply View the author
thepoy
deepin
2023-11-16 21:40
#2

使用pac文件,将pac文件地址放到自动代理的输入栏中。

Reply View the author
babyfengfjx
Super Moderator
CQA
2023-11-16 23:02
#3

这个地方能设置么:
image.png

Reply View the author
Cnyg
deepin
2023-11-17 01:48
#4
babyfengfjx

这个地方能设置么:
image.png

这里可以编辑的吧

Reply View the author
babyfengfjx
Super Moderator
CQA
2023-11-17 17:30
#5
Cnyg

这里可以编辑的吧

是的,可以按照自己的需求进行编辑,从而指定想要的地址绕过代理。

Reply View the author
Cnyg
deepin
2023-11-17 17:55
#6
babyfengfjx

是的,可以按照自己的需求进行编辑,从而指定想要的地址绕过代理。

但不知道表达式应该怎么写,我写 0.0.0.0-192.167.255.255 ,这个无效

Reply View the author
babyfengfjx
Super Moderator
CQA
2023-11-17 17:59
#7
Cnyg

但不知道表达式应该怎么写,我写 0.0.0.0-192.167.255.255 ,这个无效

明确你想要绕过的IP信息,把相同的部分打出来,不同的部分用代替,然后用英文分号隔开,上面的几个就是可以效仿的案例,比如你不想要192.168打头的所有IP,那就添加192. 168 . * . *; 这种。

或者直接百度输入你想要绕过的IP,该如何写。

Reply View the author
lxmuyu
deepin
2023-12-01 17:33
#8

image.png

Reply View the author