From 66b0242159fa0a6fb4127ce6ff0ce21ba7270097 Mon Sep 17 00:00:00 2001 From: salem <77879189@qq.com> Date: Tue, 25 Aug 2026 03:25:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20config/stash/salem.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/stash/salem.yaml | 65 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 config/stash/salem.yaml diff --git a/config/stash/salem.yaml b/config/stash/salem.yaml new file mode 100644 index 0000000..e82edf4 --- /dev/null +++ b/config/stash/salem.yaml @@ -0,0 +1,65 @@ +# port: 7890 +# socks-port: 7891 +# redir-port: 7892 +# tproxy-port: 7893 +mixed-port: 7890 +allow-lan: true +bind-address: "*" +mode: rule +log-level: info +external-controller: 127.0.0.1:9090 + +dns: + enable: true + # listen: 0.0.0.0:53 + ipv6: false + + default-nameserver: + - 223.5.5.5 + - 119.29.29.29 + enhanced-mode: fake-ip + fake-ip-range: 198.18.0.1/16 + use-hosts: true + nameserver: + - https://doh.pub/dns-query + - https://dns.alidns.com/dns-query + fallback: + - https://doh-pure.onedns.net/dns-query + - https://ada.openbld.net/dns-query + - https://223.5.5.5/dns-query + - https://223.6.6.6/dns-query + fallback-filter: + geoip: true + ipcidr: + - 240.0.0.0/4 + - 0.0.0.0/32 + +proxies: + +proxy-providers: + Salem: ###订阅名称### + url: "https://salem.sswiwi.com/s/f822a5e21a58184c530e01eb1ae62115" + type: http + interval: 86400 + health-check: + enable: true + url: https://www.gstatic.com/generate_204 + interval: 300 + #proxy: 🟢 直连 + path: ./proxies/salem.yaml + +proxy-groups: + - {name: 节点选择, type: select, proxies: ["自动选择", "故障转移"], icon: 'https://fastly.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Static.png'} + - {name: Google, type: select, proxies: ["自动选择"], icon: 'https://fastly.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Google_Search.png'} + - {name: 漏网之鱼, type: select, proxies: [], icon: 'https://fastly.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Final.png'} + - { name: "自动选择", type: url-test, proxies: [], url: "http://www.gstatic.com/generate_204", interval: 86400 } + - { name: "故障转移", type: fallback, proxies: [], url: "http://www.gstatic.com/generate_204", interval: 7200 } + +rules: + # 自定义规则 + - RULE-SET,google,Google + - GEOIP,CN,DIRECT + - MATCH,漏网之鱼 + +rule-providers: + google: {type: http, behavior: domain, interval: 86400, format: yaml, url: "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.yaml", path: ./rule-providers/google.yaml} \ No newline at end of file