ajeef 发表于 2025-3-14 15:54:24

sing-box1.11.x~1.13.0之间版本过渡TCP-Brutalhtml拥塞算法+Reality协议

<i class="pstatus"> 本帖最后由 ajeef 于 2025-3-14 15:55 编辑 </i><br />
<br />
<strong><font size="5"><font color="Red">原帖已经是2023年的,只适用当时1.8.x:<a href="https://hostloc.com/thread-1250119-1-1.html" target="_blank">https://hostloc.com/thread-1250119-1-1.html</a><br />
<br />
但是介于官方1.12.x-还是alpha状态,预计还有很多新增的特性参数和改动,等测试版、正式版,落地了再改,目前最新正式版是1.11.5<br />
<br />
以下是Server Config.json</font></font></strong><br />
<br /><div class="blockcode"><div id="code_zKR"><ol><li>{<br /><li>&quot;inbounds&quot;: [<br /><li>{<br /><li>&quot;type&quot;: &quot;vless&quot;,<br /><li>&quot;tag&quot;: &quot;vless-in&quot;,<br /><li>&quot;listen&quot;: &quot;::&quot;,<br /><li>&quot;listen_port&quot;: 6813, //端口自己改<br /><li>&quot;users&quot;: [<br /><li>{<br /><li>    &quot;name&quot;: &quot;test&quot;,<br /><li>    &quot;uuid&quot;: &quot;de92bec1-e63b-44e9-b26e-72d19fc7c748&quot;,//uuid 自己改,不会看老帖<br /><li>    &quot;flow&quot;: &quot;xtls-rprx-vision&quot;<br /><li>}<br /><li>],<br /><li>&quot;tls&quot;: {<br /><li>&quot;enabled&quot;: true,<br /><li>&quot;server_name&quot;: &quot;login.cloud.com&quot;,//域名自己改,<br /><li>&quot;reality&quot;: {<br /><li>    &quot;enabled&quot;: true,<br /><li>    &quot;handshake&quot;: {<br /><li>    &quot;server&quot;: &quot;login.cloud.com&quot;,   //和上面改的一样<br /><li>    &quot;server_port&quot;: 443<br /><li>    },<br /><li>    &quot;private_key&quot;: &quot;uMNyAsemTItTxRLCCg4ptog5Jt5pTk-6cWgGZRgLg2Q&quot;,//私钥自己改,看老帖<br /><li>    &quot;short_id&quot;: &quot;6803856467f2d7b6&quot;//hex8自己改,看老帖<br /><li>}<br /><li>}<br /><li>},<br /><li>&quot;multiplex&quot;: {<br /><li>&quot;enabled&quot;: true,<br /><li>&quot;padding&quot;: true,<br /><li>&quot;brutal&quot;: {<br /><li>    &quot;enabled&quot;: true,<br /><li>    &quot;up_mbps&quot;: 300,//上行改VPS的端口极限<br /><li>    &quot;down_mbps&quot;: 300//下行无所谓<br /><li>}<br /><li>}<br /><li>],<br /><li>&quot;outbounds&quot;: [<br /><li>{<br /><li>&quot;type&quot;: &quot;direct&quot;,<br /><li>&quot;tag&quot;: &quot;direct&quot;<br /><li>},<br /><li>{<br /><li>&quot;type&quot;: &quot;block&quot;,<br /><li>&quot;tag&quot;: &quot;block&quot;<br /><li>}<br /><li>],<br /><li>&quot;route&quot;: {<br /><li>&quot;rules&quot;: [<br /><li>{<br /><li>&quot;ip_is_private&quot;: true,<br /><li>&quot;outbound&quot;: &quot;block&quot;<br /><li>},<br /><li>{<br /><li>&quot;rule_set&quot;: [<br /><li>    &quot;geoip-cn&quot;,<br /><li>    &quot;geosite-category-ads-all&quot;<br /><li>],<br /><li>&quot;outbound&quot;: &quot;block&quot;<br /><li>}<br /><li>],<br /><li>&quot;rule_set&quot;: [<br /><li>{<br /><li>&quot;tag&quot;: &quot;geoip-cn&quot;,<br /><li>&quot;type&quot;: &quot;remote&quot;,<br /><li>&quot;format&quot;: &quot;binary&quot;,<br /><li>&quot;url&quot;: &quot;https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs&quot;, //我用的官方,你有更好的自己改<br /><li>&quot;download_detour&quot;: &quot;direct&quot;<br /><li>},<br /><li>{<br /><li>&quot;tag&quot;: &quot;geosite-category-ads-all&quot;,<br /><li>&quot;type&quot;: &quot;remote&quot;,<br /><li>&quot;format&quot;: &quot;binary&quot;,<br /><li>&quot;url&quot;: &quot;https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-category-ads-all.srs&quot;, //我用的官方,你有更好的自己改<br /><li>&quot;download_detour&quot;: &quot;direct&quot;<br /><li>}<br /><li>],<br /><li>&quot;final&quot;: &quot;direct&quot;<br /><li>}<br /><li>}</ol></div><em onclick="copycode($('code_zKR'));">复制代码</em></div><br />
<br />
<strong><font color="Blue">用命令:sing-box check -c /etc/sing-box/config.json检查会报错,这正常的,这个警告,不是错误,上面说过,官方1.13就删除老版特性。<br />
WARN legacy special outbounds is deprecated in sing-box 1.11.0 and will be removed in sing-box 1.13.0, checkout documentation for migration: https://sing-box.sagernet.org/migration/#migrate-legacy-special-outbounds-to-rule-actions</font></strong><br />

gspl 发表于 2025-3-14 15:56:02

有没有区别啊,
页: [1]
查看完整版本: sing-box1.11.x~1.13.0之间版本过渡TCP-Brutalhtml拥塞算法+Reality协议