mirror of
https://github.com/EasyTier/easytier.github.io.git
synced 2025-05-19 10:27:06 +00:00
+19
-6
@@ -37,7 +37,7 @@ const packages = ref<Package[]>([
|
||||
cli_pkg_tmpl: {
|
||||
"zip": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-windows-x86_64-v{}.zip'
|
||||
},
|
||||
comment: "Windows 7 需要是 SP1 及以上, 并且需要安装 KB3063858、KB4474419 这两个补丁"
|
||||
comment: "支持 Windows 8 及以上版本,Windows 7 仅支持 EasyTier v2.1.2 以下版本。"
|
||||
},
|
||||
{
|
||||
os: "Windows",
|
||||
@@ -49,6 +49,17 @@ const packages = ref<Package[]>([
|
||||
"zip": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-windows-arm64-v{}.zip'
|
||||
},
|
||||
},
|
||||
{
|
||||
os: 'Windows 7',
|
||||
arch: 'x86_64',
|
||||
gui_pkg_tmpl: {
|
||||
"exe": 'https://github.com/EasyTier/EasyTier/releases/download/v2.1.2/easytier-gui_2.1.2_x64-setup.exe'
|
||||
},
|
||||
cli_pkg_tmpl: {
|
||||
"zip": 'https://github.com/EasyTier/EasyTier/releases/download/v2.1.2/easytier-windows-x86_64-v2.1.2.zip'
|
||||
},
|
||||
comment: "Windows 7 需要是 SP1 及以上, 并且需要安装 KB3063858、KB4474419 这两个补丁。此版本为 EasyTier v2.1.2 版本。"
|
||||
},
|
||||
{
|
||||
os: "Linux",
|
||||
arch: "x86_64",
|
||||
@@ -168,11 +179,13 @@ function renderUrlTmpl(url_tmpl: string): string {
|
||||
<table>
|
||||
|
||||
<thead>
|
||||
<td> 操作系统 </td>
|
||||
<td> 硬件架构 </td>
|
||||
<td> 图形界面程序 GUI </td>
|
||||
<td> 命令行程序 CLI </td>
|
||||
<td> 注意事项 </td>
|
||||
<tr>
|
||||
<th> 操作系统 </th>
|
||||
<th> 硬件架构 </th>
|
||||
<th> 图形界面程序 GUI </th>
|
||||
<th> 命令行程序 CLI </th>
|
||||
<th> 注意事项 </th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tr v-for="pkg in packages" v-show="(!filter_os || pkg.os === filter_os) && (!filter_arch || pkg.arch === filter_arch)">
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
# KCP 代理
|
||||
|
||||
EasyTier 是一个异地组网软件,基于 TUN 设备实现虚拟网,并使用 UDP 协议进行节点间的数据传输。
|
||||
|
||||
EasyTier 一般使用 UDP 协议进行数据传输虚拟网的 IP 数据包。但是某些运营商会对 UDP 协议进行限制,导致 UDP 有较高的丢包率,影响虚拟网内 TCP 协议的传输速度。
|
||||
|
||||
为了解决此问题,EasyTier 提供 KCP 代理功能,可以代理虚拟网内的 TCP 链接,并转换为 KCP 协议进行传输。
|
||||
由于 KCP 有更激进的重传机制,可以有效降低丢包率,提高虚拟网内的 TCP 传输速度。
|
||||
|
||||
```mermaid
|
||||
|
||||
graph LR
|
||||
A[应用客户端] -->|TCP| B(EasyTier</br>A 节点)
|
||||
B -->|KCP over UDP| C(EasyTier</br>B 节点)
|
||||
C -->|TCP| D[应用服务端]
|
||||
|
||||
classDef endpoint fill:#c1f0c1,stroke:#2d882d
|
||||
classDef easy fill:#b3d9ff,stroke:#0066cc
|
||||
classDef transport stroke:#ff6666,stroke-width:2px
|
||||
|
||||
class A,D endpoint
|
||||
class B,C easy
|
||||
linkStyle 1 stroke:#ff6666,stroke-width:2px,stroke-dasharray:5 5
|
||||
|
||||
style B stroke-width:2px
|
||||
style C stroke-width:2px
|
||||
|
||||
```
|
||||
|
||||
## 使用 KCP 代理
|
||||
|
||||
KCP 代理功能需要虚拟网内 **所有节点** 的 EasyTier 版本在 v2.2.0 以上。
|
||||
|
||||
假设想将 A 节点上的 TCP 流量代理为 KCP 协议,只需要在 A 节点上启动 EasyTier 时指定 `--enable-kcp-proxy` 参数即可。
|
||||
|
||||
KCP 代理会保证版本兼容性,如果发现对端节点不支持 KCP 代理,会自动切换回 TCP 协议。
|
||||
|
||||
## 禁用 KCP 入站
|
||||
|
||||
如果不希望发往某个节点的流量使用 KCP 协议,可以在对端节点上启动 EasyTier 时指定 `--disable-kcp-input` 参数。
|
||||
|
||||
以简介中的例子为例,如果不希望 B 节点接收 KCP 流量,可以在 B 节点上启动 EasyTier 时指定 `--disable-kcp-input` 参数。这样即使 A 节点启用了 KCP 代理,A 节点发往 B 节点的流量依然使用 TCP 协议。
|
||||
@@ -7,14 +7,14 @@ EasyTier 可以用作 WireGuard 服务端,让任意安装了 WireGuard 客户
|
||||
```mermaid
|
||||
flowchart LR
|
||||
|
||||
ios[[iPhone \n 安装 WireGuard]]
|
||||
ios[[iPhone </br> 安装 WireGuard]]
|
||||
|
||||
subgraph 节点 A IP 22.1.1.1
|
||||
nodea[EasyTier\n10.144.144.1]
|
||||
nodea[EasyTier</br>10.144.144.1]
|
||||
end
|
||||
|
||||
subgraph 节点 B
|
||||
nodeb[EasyTier\n10.144.144.2]
|
||||
nodeb[EasyTier</br>10.144.144.2]
|
||||
end
|
||||
|
||||
id1[[10.1.1.0/24]]
|
||||
|
||||
Reference in New Issue
Block a user