Replies: 3 comments
-
就算是自建也没必要把配置写得这么臃肿的,尤其是proxies和proxy-groups。很多规则集其实根本没有必要单独列出来,都合并到proxy规则集里就行了,日常使用没几个人会一天到晚切规则、切节点玩的。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
那也是抄作业的,小白哪会自己写,大佬来点分享呗 |
Beta Was this translation helpful? Give feedback.
0 replies
-
"geosite:geolocation-!cn":
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
`######### 锚点 start #######
策略组相关
pr: &pr {type: select, proxies: [默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择,直连]}
#这里是订阅更新和延迟测试相关的
p: &p {type: http, interval: 3600, health-check: {enable: true, url: https://www.gstatic.com/generate_204, interval: 300}}
######### 锚点 end #######
url 里填写自己的订阅,名称不能重复
proxy-providers:
provider1:
<<: *p
url: ""
provider2:
<<: *p
url: ""
ipv6: true
allow-lan: true
mixed-port: 7890
unified-delay: false
tcp-concurrent: true
external-controller: 127.0.0.1:9090
external-ui: ui
external-ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip"
geodata-mode: true
geox-url:
geoip: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat"
geosite: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat"
mmdb: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb"
find-process-mode: strict
global-client-fingerprint: chrome
profile:
store-selected: true
store-fake-ip: true
sniffer:
enable: true
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
skip-domain:
- "Mijia Cloud"
tun:
enable: true
stack: mixed
dns-hijack:
- "any:53"
auto-route: true
auto-detect-interface: true
dns:
enable: true
listen: :1053
ipv6: true
enhanced-mode: fake-ip
fake-ip-filter:
- "*"
- "+.lan"
- "+.local"
nameserver:
- https://doh.pub/dns-query
- https://dns.alidns.com/dns-query
proxy-server-nameserver:
- https://doh.pub/dns-query
nameserver-policy:
"geosite:private":
- https://doh.pub/dns-query
- https://dns.alidns.com/dns-query
"geosite:geolocation-!cn":
- "https://dns.cloudflare.com/dns-query#dns"
- "https://dns.google/dns-query#dns"
proxies:
type: direct
udp: true
proxy-groups:
#分隔,下面是地区分组
rules:
GEOIP,lan,直连,no-resolve
GEOSITE,biliintl,哔哩东南亚
GEOSITE,ehentai,ehentai
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,pixiv,Pixiv
GEOSITE,geolocation-!cn,其他
GEOIP,google,Google
GEOIP,netflix,NETFLIX
GEOIP,telegram,Telegram
GEOIP,twitter,Twitter
GEOSITE,CN,国内
GEOIP,CN,国内
MATCH,其他`
-------------------------------------------------上面是官方的,下面是我修改后的-----------------------------------------
`ipv6: true
allow-lan: true
mixed-port: 7890
unified-delay: false
tcp-concurrent: true
external-controller: 127.0.0.1:9090
external-ui: ui
external-ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip"
geodata-mode: true
geox-url:
geoip: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat"
geosite: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat"
mmdb: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb"
find-process-mode: strict
global-client-fingerprint: chrome
profile:
store-selected: true
store-fake-ip: true
sniffer:
enable: true
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
skip-domain:
- "Mijia Cloud"
tun:
enable: true
stack: mixed
dns-hijack:
- "any:53"
auto-route: true
auto-detect-interface: true
dns:
enable: true
listen: :1053
ipv6: true
enhanced-mode: fake-ip
fake-ip-filter:
- "*"
- "+.lan"
- "+.local"
nameserver:
- https://doh.pub/dns-query
- https://dns.alidns.com/dns-query
proxy-server-nameserver:
- https://doh.pub/dns-query
nameserver-policy:
"geosite:private":
- https://doh.pub/dns-query
- https://dns.alidns.com/dns-query
"geosite:geolocation-!cn":
- "https://dns.cloudflare.com/dns-query#dns"
- "https://dns.google/dns-query#dns"
proxies:
type: ss
server: xx
port: 111
cipher: aes-256-gcm
password: xxxxx
udp: true
proxy-groups:
type: select
proxies:
rules:
GEOIP,lan,DIRECT,no-resolve
GEOSITE,biliintl,PROXY
GEOSITE,ehentai,PROXY
GEOSITE,github,PROXY
GEOSITE,twitter,PROXY
GEOSITE,youtube,PROXY
GEOSITE,google,PROXY
GEOSITE,telegram,PROXY
GEOSITE,netflix,PROXY
GEOSITE,bilibili,DIRECT
GEOSITE,bahamut,PROXY
GEOSITE,spotify,PROXY
GEOSITE,pixiv,PROXY
GEOSITE,geolocation-!cn,PROXY
GEOIP,google,PROXY
GEOIP,netflix,PROXY
GEOIP,telegram,PROXY
GEOIP,twitter,PROXY
GEOSITE,CN,DIRECT
GEOIP,CN,DIRECT
MATCH,DIRECT`
难道大家都订阅的吗,想问下大佬们,如果是自建节点的应该怎么修改,自己个修改了下,但是报错
[TCP] dial PROXY (match GeoSite/github) 127.0.0.1:65410 --> alive.github.com:443 error: xx:111 connect error: dns resolve failed: couldn't find ip
Beta Was this translation helpful? Give feedback.
All reactions