1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
| { "log": { "disabled": true, "level": "debug", "output": "/tmp/box.log", "timestamp": true }, "dns": { "servers": [ { "type": "local", "tag": "local" } ] }, "inbounds": [ { "type": "shadowsocks", "tag": "ss-in", "method": "aes-128-gcm", "password": "XXXXX", "_comment": "sing-box generate uuid", "listen": "::", "listen_port": 61254 }, { "tag": "reality", "type": "vless", "listen": "::", "listen_port": 8443, "_comment": "Port", "users": [ { "uuid": "xxxx", "_comment": "sing-box generate uuid", "flow": "xtls-rprx-vision" } ], "tls": { "enabled": true, "server_name": "music.apple.com", "reality": { "enabled": true, "handshake": { "server": "music.apple.com", "server_port": 443 }, "private_key": "XXX", "_comment": "sing-box generate reality-keypair", "short_id": [ "deac1a19f87791cd" ], } }, "multiplex": { "enabled": true, "padding": true, "brutal": { "enabled": true, "up_mbps": 800, "down_mbps": 800 } } }, { "tag": "hy", "type": "hysteria2", "listen": "::", "listen_port": 54432, "up_mbps": 800, "down_mbps": 800, "users": [ { "password": "XXX", "_comment": "sing-box generate uuid" } ], "tls": { "enabled": true, "alpn": [ "h3" ], "certificate_path": "/path/fullchain.pem", "_comment_cert": "Path", "key_path": "/path/privkey.pem", "_comment_key": "Path" } } ], "outbounds": [ { "type": "direct", "tag": "direct-out", "domain_resolver": { "server": "local", "strategy": "prefer_ipv6", "_comment": "dns解析优先级" } }, { "type": "shadowsocks", "tag": "ss-out", "server": "XXX", "_comment_server": "IP", "server_port": "XXX", "_comment_port": "Port", "method": "aes-128-gcm", "password": "", "_comment_password": "sing-box generate uuid", "multiplex": {} } ], "route": { "final": "direct-out" } }
|