<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>QUIC &#8211; 95博客</title>
	<atom:link href="https://95bok.cn/tag/quic/feed/" rel="self" type="application/rss+xml" />
	<link>https://95bok.cn</link>
	<description>云烟</description>
	<lastBuildDate>Thu, 09 Apr 2026 09:31:51 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://95bok.cn/wp-content/uploads/2025/11/cropped-1740116058152-32x32.jpg</url>
	<title>QUIC &#8211; 95博客</title>
	<link>https://95bok.cn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Hysteria2 节点搭建教程：QUIC 协议、Brutal 拥塞控制、弱网优化</title>
		<link>https://95bok.cn/hysteria2-quic-brutal-guide/</link>
					<comments>https://95bok.cn/hysteria2-quic-brutal-guide/#respond</comments>
		
		<dc:creator><![CDATA[云烟]]></dc:creator>
		<pubDate>Thu, 09 Apr 2026 06:52:11 +0000</pubDate>
				<category><![CDATA[IPv6/远程访问]]></category>
		<category><![CDATA[未分类]]></category>
		<category><![CDATA[甲骨文云]]></category>
		<category><![CDATA[Hysteria2]]></category>
		<category><![CDATA[QUIC]]></category>
		<category><![CDATA[拥塞控制]]></category>
		<category><![CDATA[节点]]></category>
		<guid isPermaLink="false">https://95bok.cn/hysteria2-quic-brutal-guide/</guid>

					<description><![CDATA[Hysteria2 用的是 QUIC 协议（基于 UDP），不是传统的 TCP。QUIC 最大的好处是在弱网环 ... <a title="Hysteria2 节点搭建教程：QUIC 协议、Brutal 拥塞控制、弱网优化" class="read-more" href="https://95bok.cn/hysteria2-quic-brutal-guide/" aria-label="阅读 Hysteria2 节点搭建教程：QUIC 协议、Brutal 拥塞控制、弱网优化">阅读更多</a>]]></description>
										<content:encoded><![CDATA[<p>Hysteria2 用的是 QUIC 协议（基于 UDP），不是传统的 TCP。QUIC 最大的好处是在弱网环境下（丢包、延迟抖动）比 TCP 稳定得多。</p>
<p>另外它的 Brutal 拥塞控制算法，在高丢包率下能跑满带宽。实测家庭 WiFi 丢包 5% 时，Hysteria2 速度是 VLESS 的 2~3 倍。</p>
<hr />
<h2>安装</h2>
<p>服务端一行搞定：</p>
<pre><code class="language-bash">bash &lt;(curl -fsSL https://get.hy2.sh/)</code></pre>
<p>装完配置文件在 <code>/etc/hysteria/config.yaml</code>。</p>
<hr />
<h2>配置文件</h2>
<p>贴一个最小可用的：</p>
<pre><code class="language-yaml">listen: :443

tls:
  cert: /etc/hysteria/cert.pem
  key: /etc/hysteria/key.pem

auth:
  type: password
  password: "你的密码"

quic:
  initStreamReceiveWindow: 8388608
  maxStreamReceiveWindow: 8388608
  initConnReceiveWindow: 20971520
  maxConnReceiveWindow: 20971520

bandwidth:
  up: 100 mbps
  down: 100 mbps

ignoreClientBandwidth: false

masquerade:
  type: proxy
  proxy:
    url: https://www.baidu.com
    rewriteHost: true</code></pre>
<p><strong>cert 和 key 从哪来？</strong>Hysteria2 需要真实的 TLS 证书，跟 Reality 不一样。可以用 Let&#8217;s Encrypt：</p>
<pre><code class="language-bash">apt install -y certbot
certbot certonly --standalone -d yourdomain.com
cp /etc/letsencrypt/live/yourdomain.com/fullchain.pem /etc/hysteria/cert.pem
cp /etc/letsencrypt/live/yourdomain.com/privkey.pem /etc/hysteria/key.pem</code></pre>
<p>所以 Hysteria2 需要域名，这是跟 Reality 的主要区别。</p>
<hr />
<h2>Brutal 拥塞控制</h2>
<p>默认配置里没开 Brutal，加上：</p>
<pre><code class="language-yaml">obfs:
  type: salamander
  salamander:
    password: "混淆密码"

speedTest: true

fastOpen: true

transport:
  udp:
    hopInterval: 30s</code></pre>
<p>客户端配置里也要对应加上 Brutal 参数：</p>
<pre><code class="language-yaml">bandwidth:
  up: 50 mbps
  down: 200 mbps</code></pre>
<p>Brutal 的原理是主动探测带宽然后激进地发数据。下行填大一点，服务端会根据你的网络情况自动调整。</p>
<hr />
<h2>客户端</h2>
<p><strong>Windows/Mac：</strong>官方 Hysteria2 GUI，或者用 Nekoray。</p>
<p><strong>Android：</strong>Hysteria2 官方 App。</p>
<p><strong>iOS：</strong>Shadowrocket（选 Hysteria2 协议）。</p>
<p>配置需要填：服务器 IP、端口、密码（auth password）、TLS SNI（域名）、跳过证书验证（如果是自签证书）。</p>
<hr />
<h2>实际测试</h2>
<p>家庭 WiFi（丢包 2~5%）：</p>
<p>Hysteria2（Brutal）：80~120 Mbps，YouTube 4K 秒开。<br />
VLESS+Reality：30~50 Mbps，偶尔卡顿。</p>
<p>服务器有线网络（丢包 0%）：</p>
<p>两者差距不大，Hysteria2 约 90 Mbps，VLESS 约 85 Mbps。</p>
<p>结论：网络越好，差距越小。网络越差，Hysteria2 优势越大。</p>
<hr />
<h2>注意</h2>
<p>Hysteria2 基于 UDP。如果你的网络环境 UDP 被 QoS 或限速，效果会打折扣。大部分国内网络 UDP 是正常的。</p>
<p>UDP 443 端口，服务器防火墙记得放行：<code>ufw allow 443/udp</code></p>
]]></content:encoded>
					
					<wfw:commentRss>https://95bok.cn/hysteria2-quic-brutal-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
