clashX 设置白名单

打开终端,在新建一个文件。

vim ~/.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>192.168.0.0/16</string>
        <string>10.0.0.0/8</string>
        <string>172.16.0.0/12</string>
        <string>127.0.0.1</string>
        <string>localhost</string>
        <string>*.local</string>
        <string>*.crashlytics.com</string>
        <!--上面的不要删,在下面添加你想要忽略的域名-->
        <string>*.lc.com</string>
        <string>*-lc.com</string>
        <string>*-local.com</string>
        <string>*-.local.com</string>
</array>
</plist>

编辑完成后重启clashX