diff --git a/Clash/Head.yaml b/Clash/Head.yaml index c0d3f0c..9e171a7 100644 --- a/Clash/Head.yaml +++ b/Clash/Head.yaml @@ -1,9 +1,8 @@ -port: 7890 -socks-port: 7891 -redir-port: 7892 +port: 8888 +socks-port: 8889 allow-lan: true mode: Rule log-level: info -external-controller: 127.0.0.1:9090 +external-controller: 127.0.0.1:6170 experimental: ignore-resolve-fail: true \ No newline at end of file diff --git a/Clash/Head_dns.yaml b/Clash/Head_dns.yaml index 6474ca3..3350ab5 100644 --- a/Clash/Head_dns.yaml +++ b/Clash/Head_dns.yaml @@ -1,22 +1,24 @@ -port: 7890 -socks-port: 7891 -redir-port: 7892 +port: 8888 +socks-port: 8889 allow-lan: true mode: Rule log-level: info -external-controller: 127.0.0.1:9090 +external-controller: '127.0.0.1:6170' experimental: ignore-resolve-fail: true dns: enable: true ipv6: false - listen: 127.0.0.1:5450 + listen: 127.0.0.1:5353 enhanced-mode: fake-ip - nameserver: - - 119.29.29.29 - - 119.28.28.28 - - 1.2.4.8 + default-nameserver: + - 119.29.29.29 + - 119.28.28.28 + - 1.2.4.8 + fake-ip-filter: + - '*.lan' + - localhost.ptlogin2.qq.com fallback: - - tls://dns.adguard.com:853 - - tls://1.1.1.1:853 - - tls://dns.google:853 \ No newline at end of file + - 'https://dns.alidns.com/dns-query' + - 'https://1.1.1.1/dns-query' + - tls://dns.adguard.com:853 \ No newline at end of file diff --git a/Clash/Head_tap.yaml b/Clash/Head_tap.yaml index 8264148..f77012e 100644 --- a/Clash/Head_tap.yaml +++ b/Clash/Head_tap.yaml @@ -1,24 +1,26 @@ -port: 7890 -socks-port: 7891 -redir-port: 7892 +port: 8888 +socks-port: 8889 allow-lan: true mode: Rule log-level: info -external-controller: 127.0.0.1:9090 +external-controller: 127.0.0.1:6170 experimental: ignore-resolve-fail: true dns: enable: true ipv6: false - listen: 127.0.0.1:53 + listen: 127.0.0.1:5353 enhanced-mode: fake-ip - nameserver: - - 119.29.29.29 - - 119.28.28.28 - - 1.2.4.8 + default-nameserver: + - 119.29.29.29 + - 119.28.28.28 + - 1.2.4.8 + fake-ip-filter: + - '*.lan' + - localhost.ptlogin2.qq.com fallback: - - tls://dns.adguard.com:853 - - tls://1.1.1.1:853 - - tls://dns.google:853 + - 'https://dns.alidns.com/dns-query' + - 'https://1.1.1.1/dns-query' + - tls://dns.adguard.com:853 # experimental: # interface-name: WLAN \ No newline at end of file