mirror of
https://github.com/EasyTier/easytier.github.io.git
synced 2025-05-19 10:27:06 +00:00
add description for --proxy-forward-by-system (#97)
This commit is contained in:
@@ -74,4 +74,12 @@ easytier-core -n 10.1.1.0/24 -n 10.2.0.0/16 -n 10.3.3.3/32
|
||||
|
||||
:::
|
||||
|
||||
## 禁用内置NAT
|
||||
|
||||
默认情况下,子网代理中启用了内置 NAT,在用户态处理数据包转发,使非网关设备也能成为子网入口,同时规避了不同操作系统上对于数据包转发的限制。
|
||||
|
||||
如果 Easytier 工作在网关设备上,用户可通过 `--proxy-forward-by-system` 参数将子网代理数据包交由系统内核转发,此时内置 NAT 关闭。
|
||||
|
||||
需要注意当该选项启用后,子网代理的数据包转发将完全依赖于操作系统,请确认操作系统的防火墙、转发规则、路由规则等配置正确。
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user