当开启clashx以后,会遇到访问内网连接的时候,不生效,关掉以后可以正常访问。

解决方法,打开终端,输入vi ~/.config/clash/proxyIgnoreList.plist,即进入 ~/.config/clash目录下创建一个proxyIgnoreList.plist文件,里面添加以下代码,


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
    <string>1xx.1xx.0.0/16</string>
    <string>10.0.0.0/8</string>
    <string>1xx.1x.0.0/12</string>
    <string>127.0.0.1</string>
    <string>localhost</string>
    <string>*.local</string>
    <string>*******.net</string>
    <string>*******.com</string>
    <string>http://customxxxx.org</string>
</array>
</plist>

下面的可根据不能访问的域名,自行配置,保存后,重启clashx即可。

小问题:对于程序员朋友,我在访问日常环境连接的时候,还是不能访问,这个有解决方法吗?评论区交流下

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐