This commit is contained in:
sijie.sun
2025-02-25 14:05:22 +08:00
parent a00ff95b38
commit eeb6724ec1
6 changed files with 86 additions and 81 deletions
+1 -1
View File
@@ -16,4 +16,4 @@ Running `easytier-core` directly without parameters will generate the minimal co
## Configuration File Generator
The official website provides a configuration file generator, which you can access via <a href="https://easytier.cn/web/index.html#config_generator">Configuration File Generator</a> to generate configuration files.
The official website provides a configuration file generator, which you can access via <a target="_blank" href="https://easytier.cn/web/index.html#config_generator">Configuration File Generator</a> to generate configuration files.
+4 -2
View File
@@ -1,7 +1,5 @@
# KCP Proxy
EasyTier is a remote networking software that uses a TUN device to create a virtual network and transmits data between nodes via the UDP protocol.
EasyTier typically uses the UDP protocol to transmit IP packets within the virtual network. However, some ISPs restrict UDP, which can lead to high packet loss and affect TCP performance within the virtual network.
To address this issue, EasyTier provides a KCP proxy feature that can proxy TCP connections in the virtual network and convert them to KCP for transmission. Thanks to KCP's more aggressive retransmission mechanism, it effectively reduces packet loss and improves TCP transmission speeds within the virtual network.
@@ -40,6 +38,10 @@ If you do not want traffic destined for a specific node to use the KCP protocol,
For example, if you do not want Node B to receive KCP traffic, start EasyTier on Node B with the `--disable-kcp-input` parameter. In this case, even if Node A has enabled the KCP proxy, the traffic from Node A to Node B will continue to use the TCP protocol.
## Subnet-to-Subnet KCP Support
If Node A is a router, and the subnet under A needs to access other EasyTier nodes or other proxied subnets, it can also use the KCP proxy. However, Node A must use the user-space network stack by specifying the `--use-smoltcp` parameter. Otherwise, the TCP protocol will still be used.
## Checking KCP Proxy Status
You can check the status of KCP proxy connections using the EasyTier CLI tool.
+1 -1
View File
@@ -16,4 +16,4 @@ easytier-core -c ./config.yaml
## 配置文件生成工具
官网提供了配置文件生成工具,可以通过访问 <a href="https://easytier.cn/web/index.html#config_generator">配置文件生成工具</a> 来生成配置文件。
官网提供了配置文件生成工具,可以通过访问 <a target="_blank" href="https://easytier.cn/web/index.html#config_generator">配置文件生成工具</a> 来生成配置文件。
+5 -2
View File
@@ -1,7 +1,5 @@
# KCP 代理
EasyTier 是一个异地组网软件,基于 TUN 设备实现虚拟网,并使用 UDP 协议进行节点间的数据传输。
EasyTier 一般使用 UDP 协议进行数据传输虚拟网的 IP 数据包。但是某些运营商会对 UDP 协议进行限制,导致 UDP 有较高的丢包率,影响虚拟网内 TCP 协议的传输速度。
为了解决此问题,EasyTier 提供 KCP 代理功能,可以代理虚拟网内的 TCP 链接,并转换为 KCP 协议进行传输。
@@ -43,6 +41,11 @@ KCP 代理默认使用内核的网络栈,可能由于系统防火墙设置导
以简介中的例子为例,如果不希望 B 节点接收 KCP 流量,可以在 B 节点上启动 EasyTier 时指定 `--disable-kcp-input` 参数。这样即使 A 节点启用了 KCP 代理,A 节点发往 B 节点的流量依然使用 TCP 协议。
## 网对网 KCP 支持
假设节点 A 是路由器,A 下的子网访问 EasyTier 其他节点本身或者其他代理子网时,也可以使用 KCP 代理,但是需要 A 节点使用用户态网络栈即 `--use-smoltcp` 参数。
否则仍会使用 TCP 协议。
## 查看 KCP 代理状态
可以通过 EasyTier Cli 工具查看 KCP 代理的链接的状态。
+1 -1
View File
@@ -1,7 +1,7 @@
export default {
load() {
return {
easytier_latest_version: '2.2.1',
easytier_latest_version: '2.2.2',
github_accels: [
'https://ghfast.top/',
],
+74 -74
View File
File diff suppressed because one or more lines are too long