From bd838b98405686b33b78bff2700dec52bac169b5 Mon Sep 17 00:00:00 2001 From: salem <77879189@qq.com> Date: Thu, 27 Aug 2026 00:23:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20config/flcalsh/flclash.yam?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/flcalsh/flclash.yaml | 132 ++++++++++++++++++------------------ 1 file changed, 66 insertions(+), 66 deletions(-) diff --git a/config/flcalsh/flclash.yaml b/config/flcalsh/flclash.yaml index 0cf73e7..6499a33 100644 --- a/config/flcalsh/flclash.yaml +++ b/config/flcalsh/flclash.yaml @@ -1,78 +1,78 @@ -# Stash/Clash/Premium/Meta Config Make by Coldvvater -# TG Channel: https://t.me/Coldvvater_Channel -# GitHub: https://github.com/Coldvvater -# Update Date: 2023.11.25 - -# 全局配置 -port: 7890 -socks-port: 7891 -redir-port: 7892 -mixed-port: 7893 -tproxy-port: 7894 +# port: 7890 +# socks-port: 7891 +# redir-port: 7892 +# tproxy-port: 7893 +mixed-port: 7890 allow-lan: true bind-address: "*" -ipv6: false -unified-delay: true -tcp-concurrent: true -# interface-name: enp6s18 -log-level: warning -find-process-mode: 'off' -global-client-fingerprint: chrome -keep-alive-idle: 600 -keep-alive-interval: 15 -profile: - store-selected: true - store-fake-ip: true +mode: rule +log-level: info +external-controller: 127.0.0.1:9090 -# 嗅探 -sniffer: - enable: true - sniff: - HTTP: - ports: [80, 8080-8880] - override-destination: true - TLS: - ports: [443, 8443] - QUIC: - ports: [443, 8443] - force-domain: - - "+.v2ex.com" - skip-domain: - - "+.baidu.com" - -# 入站 -tun: - enable: true - # system/gvisor/mixed - stack: mixed - dns-hijack: ["any:53", "tcp://any:53"] - #使用nikki,混入全部不修改的情况,开启接口指定为nikki - #使用仅内核自行修改下面三项为true - #device: nikki - auto-route: false - auto-redirect: false - auto-detect-interface: false - -# DNS模块 dns: enable: true - listen: 0.0.0.0:1053 + listen: 0.0.0.0:53 ipv6: false enhanced-mode: fake-ip - fake-ip-range: 28.0.0.1/8 - fake-ip-filter-mode: blacklist - fake-ip-filter: - - "rule-set:salem@cn,GitHub" + fake-ip-range: 198.18.0.1/16 + fake-ip-filter: + - '*.lan' + - "rule-set:salem@cn,GitHub,fake-ip-filter" - 'geosite:cn' - - "+.msftconnecttest.com" - - "+.msftncsi.com" - - "time.*.com" - - "+.market.xiaomi.com" - - "+.pub.3gppnetwork.org" - - "+.3gppnetwork.org" - default-nameserver: [223.5.5.5, 119.29.29.29] - nameserver: [https://223.5.5.5/dns-query, https://doh.pub/dns-query] + #STUN + - '+.stun.*.*' + - '+.stun.*.*.*' + - '+.stun.*.*.*.*' + - '+.stun.*.*.*.*.*' + - 'stun.*' + - 'ntp.*.com' + - 'time.*.com' + - 'ntp?.*.com' + - 'time?.*.com' + - 'time.*.gov' + - 'time.*.edu.cn' + #微信登录 + - 'localhost.*.weixin.qq.com' + - 'localhost.*.qq.com' + #放行NTP服务 + - 'time.*.apple.com' + - 'time-ios.apple.com' + - 'time1.*.com' + - 'time2.*.com' + - 'time3.*.com' + - 'time4.*.com' + - 'time5.*.com' + - 'time6.*.com' + - 'time7.*.com' + - 'ntp1.*.com' + - 'ntp2.*.com' + - 'ntp3.*.com' + - 'ntp4.*.com' + - 'ntp5.*.com' + - 'ntp6.*.com' + - 'ntp7.*.com' + #Microsoft Xbox + - 'xbox.*.*.microsoft.com' + - '*.*.xboxlive.com' + - 'xbox.*.microsoft.com' + - '*.xboxlive.com' + use-hosts: true + default-nameserver: + - 223.5.5.5 + - 119.29.29.29 + nameserver: + - https://doh.pub/dns-query + - https://dns.alidns.com/dns-query + fallback: + - https://1.1.1.1/dns-query + - https://8.8.8.8/dns-query + fallback-filter: + geoip: true + geoip-code: CN + ipcidr: + - 240.0.0.0/4 + - 0.0.0.0/32 # 本地服务器