diff --git a/Clash/Head_tap.yaml b/Clash/Head_tap.yaml index 9bf3cff..6eba669 100644 --- a/Clash/Head_tap.yaml +++ b/Clash/Head_tap.yaml @@ -10,19 +10,10 @@ experimental: dns: enable: true # ipv6: false - listen: '0.0.0.0:53' - enhanced-mode: redir-host + listen: 0.0.0.0:53 + enhanced-mode: fake-host nameserver: - 119.29.29.29 - 223.5.5.5 - 223.6.6.6 - # experimental: - # interface-name: WLAN -tun: - enable: true - stack: system - # dns-hijack: - # - 8.8.8.8:53 - # - tcp://8.8.8.8:53 - auto-route: true - auto-detect-interface: true \ No newline at end of file + # interface-name: WLAN \ No newline at end of file diff --git a/Clash/Head_tun.yaml b/Clash/Head_tun.yaml new file mode 100644 index 0000000..9759ba1 --- /dev/null +++ b/Clash/Head_tun.yaml @@ -0,0 +1,26 @@ +port: 8888 +socks-port: 8889 +mixed-port: 8899 +allow-lan: true +mode: Rule +log-level: info +external-controller: 127.0.0.1:6170 +experimental: + ignore-resolve-fail: true +dns: + enable: true + # ipv6: false + # listen: 0.0.0.0:53 + enhanced-mode: fake-ip + nameserver: + - 119.29.29.29 + - 223.5.5.5 + - 223.6.6.6 + # interface-name: WLAN +tun: + enable: true + stack: system + dns-hijack: + - 198.18.0.2:53 + auto-route: true + auto-detect-interface: true \ No newline at end of file