212 lines
6.1 KiB
YAML
212 lines
6.1 KiB
YAML
mixed-port: 7890
|
|
allow-lan: true
|
|
bind-address: '*'
|
|
mode: rule
|
|
log-level: info
|
|
external-controller: '0.0.0.0:9090'
|
|
|
|
tun:
|
|
enable: true
|
|
stack: mixed
|
|
dns-hijack:
|
|
- "any:53"
|
|
- "tcp://any:53"
|
|
auto-route: true
|
|
auto-redirect: true
|
|
auto-detect-interface: true
|
|
|
|
proxy-providers:
|
|
IPLC:
|
|
url: "https://sub.20250715iplcsub.link/qC8zV8qS1kB1lX2u/4OLCCKkHWHgeCM6m"
|
|
type: http
|
|
interval: 86400
|
|
health-check: {enable: true,url: "https://www.gstatic.com/generate_204", interval: 300}
|
|
override:
|
|
additional-prefix: "IPLC"
|
|
|
|
proxies:
|
|
- name: "直连"
|
|
type: direct
|
|
udp: true
|
|
|
|
geodata-mode: true
|
|
geox-url:
|
|
geoip: "https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat"
|
|
geosite: "https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat"
|
|
mmdb: "https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb"
|
|
asn: "https://gh-proxy.com/https://github.com/xishang0128/geoip/releases/download/latest/GeoLite2-ASN.mmdb"
|
|
|
|
dns:
|
|
enable: true
|
|
ipv6: true
|
|
respect-rules: true
|
|
enhanced-mode: fake-ip
|
|
fake-ip-filter:
|
|
- "*"
|
|
- "+.lan"
|
|
- "+.local"
|
|
- "+.market.xiaomi.com"
|
|
nameserver:
|
|
- https://120.53.53.53/dns-query
|
|
- https://223.5.5.5/dns-query
|
|
proxy-server-nameserver:
|
|
- https://120.53.53.53/dns-query
|
|
- https://223.5.5.5/dns-query
|
|
nameserver-policy:
|
|
"geosite:cn,private":
|
|
- https://120.53.53.53/dns-query
|
|
- https://223.5.5.5/dns-query
|
|
"geosite:geolocation-!cn":
|
|
- "https://dns.cloudflare.com/dns-query"
|
|
- "https://dns.google/dns-query"
|
|
|
|
proxy-groups:
|
|
|
|
- name: 默认
|
|
type: select
|
|
proxies: [自动选择,直连,香港,台湾,日本,新加坡,美国,其它地区,全部节点]
|
|
|
|
- name: Google
|
|
type: select
|
|
proxies: [默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择,直连]
|
|
|
|
- name: Telegram
|
|
type: select
|
|
proxies: [默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择,直连]
|
|
|
|
- name: Twitter
|
|
type: select
|
|
proxies: [默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择,直连]
|
|
|
|
- name: 哔哩哔哩
|
|
type: select
|
|
proxies: [默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择,直连]
|
|
|
|
- name: 巴哈姆特
|
|
type: select
|
|
proxies: [默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择,直连]
|
|
|
|
- name: YouTube
|
|
type: select
|
|
proxies: [默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择,直连]
|
|
|
|
- name: NETFLIX
|
|
type: select
|
|
proxies: [默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择,直连]
|
|
|
|
- name: Spotify
|
|
type: select
|
|
proxies: [默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择,直连]
|
|
|
|
- name: Github
|
|
type: select
|
|
proxies: [默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择,直连]
|
|
|
|
- name: 国内
|
|
type: select
|
|
proxies: [直连,默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择]
|
|
|
|
- name: 其他
|
|
type: select
|
|
proxies: [默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择,直连]
|
|
|
|
#分隔,下面是地区分组
|
|
- name: 香港
|
|
type: select
|
|
include-all: true
|
|
filter: "(?i)港|hk|hongkong|hong kong"
|
|
|
|
- name: 台湾
|
|
type: select
|
|
include-all: true
|
|
filter: "(?i)台|tw|taiwan"
|
|
|
|
- name: 日本
|
|
type: select
|
|
include-all: true
|
|
filter: "(?i)日|jp|japan"
|
|
|
|
- name: 美国
|
|
type: select
|
|
include-all: true
|
|
filter: "(?i)美|us|unitedstates|united states"
|
|
|
|
- name: 新加坡
|
|
type: select
|
|
include-all: true
|
|
filter: "(?i)(新|sg|singapore)"
|
|
|
|
- name: 其它地区
|
|
type: select
|
|
include-all: true
|
|
filter: "(?i)^(?!.*(?:|||||港|hk|hongkong|台|tw|taiwan|日|jp|japan|新|sg|singapore|美|us|unitedstates)).*"
|
|
|
|
- name: 全部节点
|
|
type: select
|
|
include-all: true
|
|
|
|
- name: 自动选择
|
|
type: url-test
|
|
include-all: true
|
|
tolerance: 10
|
|
|
|
rules:
|
|
|
|
|
|
- 'DOMAIN-SUFFIX,synology.com,DIRECT'
|
|
- 'DOMAIN-SUFFIX,digitalocean.com,DIRECT'
|
|
- 'DOMAIN-SUFFIX,synocommunity.com,DIRECT'
|
|
|
|
- 'DOMAIN-SUFFIX,emby.xiaoya.pro,DIRECT'
|
|
- 'DOMAIN-SUFFIX,icyou.eu.org,DIRECT'
|
|
- 'DOMAIN-SUFFIX,lanyuewan.cn,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby.8.net.co,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby.raydoom.tk,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby.kaiserver.uk,DIRECT'
|
|
- 'DOMAIN-SUFFIX,embyxiaoya.laogl.top,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby-data.poxi1221.eu.org,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby-data.ermaokj.cn,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby-data.bdbd.fun,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby-data.wwwh.eu.org,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby-data.f1rst.top,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby-data.ymschh.top,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby-data.wx1.us.kg,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby-data.r2s.site,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby-data.neversay.eu.org,DIRECT'
|
|
- 'DOMAIN-SUFFIX,emby-data.800686.xyz,DIRECT'
|
|
- 'DOMAIN-SUFFIX,syncthing.net,DIRECT'
|
|
- 'DOMAIN-SUFFIX,3322.org,DIRECT'
|
|
- 'DOMAIN-SUFFIX,picp.net,DIRECT'
|
|
- 'DOMAIN-SUFFIX,wicp.net,DIRECT'
|
|
- 'DOMAIN-SUFFIX,xicp.cn,DIRECT'
|
|
- 'DOMAIN-SUFFIX,cpolar.top,DIRECT'
|
|
- 'DOMAIN-SUFFIX,cpolar.cn,DIRECT'
|
|
- 'DOMAIN-SUFFIX,joyagain.top,DIRECT'
|
|
- 'DOMAIN-SUFFIX,againgo.top,DIRECT'
|
|
- 'DOMAIN-SUFFIX,himan.vip,DIRECT'
|
|
- 'DOMAIN-SUFFIX,himan.cloud,DIRECT'
|
|
- 'DOMAIN-SUFFIX,himan.top,DIRECT'
|
|
- 'DOMAIN-SUFFIX,joyagain.me,DIRECT'
|
|
- 'DOMAIN-SUFFIX,xuanyuan.me,DIRECT'
|
|
- 'DOMAIN-SUFFIX,1ms.run,DIRECT'
|
|
|
|
- GEOIP,lan,直连,no-resolve
|
|
- GEOSITE,github,Github
|
|
- GEOSITE,twitter,Twitter
|
|
- GEOSITE,youtube,YouTube
|
|
- GEOSITE,google,Google
|
|
- GEOSITE,telegram,Telegram
|
|
- GEOSITE,netflix,NETFLIX
|
|
- GEOSITE,bilibili,哔哩哔哩
|
|
- GEOSITE,bahamut,巴哈姆特
|
|
- GEOSITE,spotify,Spotify
|
|
- GEOSITE,CN,国内
|
|
- GEOSITE,geolocation-!cn,其他
|
|
|
|
- GEOIP,google,Google
|
|
- GEOIP,netflix,NETFLIX
|
|
- GEOIP,telegram,Telegram
|
|
- GEOIP,twitter,Twitter
|
|
- GEOIP,CN,国内
|
|
- MATCH,其他
|