添加 config/stash/salem.yaml
This commit is contained in:
@@ -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}
|
||||
Reference in New Issue
Block a user