Files
gitlab-instance-0a899031_ne…/tuic.yaml
2025-10-23 12:49:39 +08:00

230 lines
5.9 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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: 74.122.59.32
port: 47691
username: ZwOAjxzJkPHlvmC
password: ydmuuk1m5rUk1O0
# tls: true
# fingerprint: xxxx
# skip-cert-verify: true
# udp: true
# ip-version: ipv6
- name: 242af835-singbox_hysteria2
type: hysteria2
server: 107.173.7.226
port: 26306
ports: 30000-31000
# username: hackrobot
password: 2a6382bb-a7f5-4684-a41e-7439b92ad99e
up: "30 Mbps"
down: "30 Mbps"
sni: hy2.nomadro.com
# obfs: tls
# skip-cert-verify: false
skip-cert-verify: true
recv_window_conn: 8388608
recv_window_client: 8388608
fast-open: true
retry: 60
retry_interval: 5
# fingerprint: chrome
alpn:
- h3
- h3-29
- h2
- name: hackrobot-singbox_tuic
type: tuic
server: 107.173.7.226
port: 28219
uuid: 2a6382bb-a7f5-4684-a41e-7439b92ad99e
password: 2a6382bb-a7f5-4684-a41e-7439b92ad99e
# 可选优化字段(以下均为官方推荐写法)
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: 16423
uuid: 2a6382bb-a7f5-4684-a41e-7439b92ad99e
flow: xtls-rprx-vision
packet-encoding: xudp
tls: true
servername: one-piece.com
alpn:
- h2
- http/1.1
client-fingerprint: chrome
skip-cert-verify: true
reality-opts:
public-key: IrNl_z6iSot2J8_aab24b21F_DhdUFT9VHIVNUwrwwE
short-id: 6ba85179e30d4fc2
encryption: none
network: tcp
udp: true
smux:
enabled: false
proxy-groups:
- type: select
name: 🚀 节点选择
proxies:
- DIRECT
- REJECT
- ⚡ 自动选择
- proxycheap
- 242af835-singbox_hysteria2
- VLESS_Reality_Vision
- hackrobot-singbox_tuic
- name: dialer
type: select
proxies:
- 242af835-singbox_hysteria2
- VLESS_Reality_Vision
- hackrobot-singbox_tuic
- name: ⚡ 自动选择
type: url-test
proxies:
- 242af835-singbox_hysteria2
- VLESS_Reality_Vision
- hackrobot-singbox_tuic
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,🐟 漏网之鱼