{ "log": { "level": "info", "timestamp": true }, "certificate": { "acme": { "domains": [ "你的域名" ], "email": "你的邮箱", "provider": "cloudflare", "dns": { "api_token": "你的cloudflare_api_token" }, "disable_http_challenge": true, "disable_tls_alpn_challenge": true, "path": "/etc/sing-box/tls" } }, "inbounds": [ { "type": "tuic", "tag": "tuic-in", "listen": "::", "listen_port": 8443, "users": [ { "name": "user1", "uuid": "你的UUID", "password": "你的密码" } ], "congestion_control": "bbr", "auth_timeout": "3s", "zero_rtt_handshake": false, "heartbeat": "10s", "tls": { "enabled": true, "server_name": "你的域名", "alpn": ["h3"], "key_path": "/etc/sing-box/tls/你的域名.key", "certificate_path": "/etc/sing-box/tls/你的域名.crt" } } ], "outbounds": [ { "type": "direct", "tag": "direct" }, { "type": "block", "tag": "block" } ], "route": { "rules": [ { "ip_is_private": true, "outbound": "block" } ], "final": "direct" } }