port: 7890 socks-port: 7891 allow-lan: false mode: rule log-level: info geodata-mode: true geo-auto-update: true geodata-loader: standard geo-update-interval: 24 geox-url: geoip: https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat geosite: >- https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat mmdb: >- https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country.mmdb asn: >- https://github.com/xishang0128/geoip/releases/download/latest/GeoLite2-ASN.mmdb rule-providers: geolocation-cn: type: http format: mrs behavior: domain url: >- https://gh.sageer.me/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/geolocation-cn.mrs path: ./ruleset/geolocation-cn.mrs interval: 86400 geolocation-!cn: type: http format: mrs behavior: domain url: >- https://gh.sageer.me/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/geolocation-!cn.mrs path: ./ruleset/geolocation-!cn.mrs interval: 86400 private: type: http format: mrs behavior: ipcidr url: >- https://gh.sageer.me/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geoip/private.mrs path: ./ruleset/private.mrs interval: 86400 cn: type: http format: mrs behavior: domain url: >- https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/cn.yaml path: ./ruleset/cn.mrs interval: 86400 dns: enable: true ipv6: false respect-rules: true enhanced-mode: fake-ip 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 proxies: # 落地代理 - name: proxycheap # 前置代理 dialer-proxy: dialer type: socks5 # server: 66.128.193.237 # port: 43933 # username: azX1GL37fCmPycB # password: LCAGDoKudRZtriK server: 92.112.6.88 port: 12324 username: 14acc9ad9e029 password: 65ab9719f5 # tls: true # fingerprint: xxxx # skip-cert-verify: true # udp: true # ip-version: ipv6 - name: "242af835-singbox_hysteria2" type: hysteria2 server: 107.173.7.226 # server: hy2.nomadro.com port: 34814 ports: 30000-31000 password: 1f28cd23-d223-4eaa-a786-4a010d674cbc sni: hy2.nomadro.com skip-cert-verify: true alpn: - h3 up: "1000 Mbps" down: "1000 Mbps" # congestion_control: bbr # 优化带宽利用率 - name: hackrobot-singbox_tuic type: tuic server: 107.173.7.226 port: 33935 ports: 32000-40000 uuid: 1f28cd23-d223-4eaa-a786-4a010d674cbc password: 1f28cd23-d223-4eaa-a786-4a010d674cbc # 可选优化字段(以下均为官方推荐写法) alpn: - h3 udp-relay-mode: native # 原生 UDP 转发模式 congestion-controller: bbr # 拥塞控制算法:bbr/cubic/new_reno disable-sni: false # 保留 SNI,用于伪装域名 reduce-rtt: true # 启用 0-RTT 握手以降低延迟 request-timeout: 8000 # 连接超时时间(毫秒) heartbeat-interval: 10000 # 心跳包间隔(毫秒) tls: true sni: hy2.nomadro.com # 若使用域名证书建议填写 skip-cert-verify: true # 测试阶段跳过证书验证 fast-open: true # 启用 TCP Fast-Open max-open-streams: 20 # 最大并发流数量 max-udp-relay-packet-size: 1500 # 最大 UDP 包大小(字节) udp: true # 启用 UDP 支持 - name: "VLESS_Reality_Vision" type: vless server: 107.173.7.226 # 替换为域名 port: 21730 # 修改端口为21730 uuid: 1f28cd23-d223-4eaa-a786-4a010d674cbc flow: xtls-rprx-vision encryption: none network: tcp tls: true servername: hy2.nomadro.com alpn: - h2 - http/1.1 client-fingerprint: chrome skip-cert-verify: true reality-opts: public-key: ppipIkuEvHMBaMMg42C1lsRX_igSZPlDDZDBVY1UdzM short-id: 6ba85179e30d4fc2 server-names: - hy2.nomadro.com flow: xtls-rprx-vision smux: enabled: false proxy-groups: - type: select name: 🚀 节点选择 proxies: - DIRECT - REJECT - ⚡ 自动选择 - proxycheap - 242af835-singbox_hysteria2 - hackrobot-singbox_tuic - VLESS_Reality_Vision - name: dialer type: select proxies: - 242af835-singbox_hysteria2 - hackrobot-singbox_tuic - VLESS_Reality_Vision - name: ⚡ 自动选择 type: url-test proxies: - 242af835-singbox_hysteria2 - hackrobot-singbox_tuic - VLESS_Reality_Vision url: https://www.gstatic.com/generate_204 interval: 300 lazy: false - type: select name: 🏠 私有网络 proxies: - 🚀 节点选择 - DIRECT - REJECT - ⚡ 自动选择 - 242af835-singbox_hysteria2 - type: select name: 🔒 国内服务 proxies: - 🚀 节点选择 - DIRECT - REJECT - ⚡ 自动选择 - 242af835-singbox_hysteria2 - type: select name: 🌐 非中国 proxies: - 🚀 节点选择 - DIRECT - REJECT - ⚡ 自动选择 - 242af835-singbox_hysteria2 - type: select name: 🐟 漏网之鱼 proxies: - 🚀 节点选择 - DIRECT - REJECT - ⚡ 自动选择 - 242af835-singbox_hysteria2 rules: - RULE-SET,geolocation-cn,🔒 国内服务 - RULE-SET,geolocation-!cn,🌐 非中国 - RULE-SET,private,🏠 私有网络,no-resolve - RULE-SET,cn,🔒 国内服务,no-resolve - MATCH,🐟 漏网之鱼