documentation: Fix endpoint_independent_nat

This commit is contained in:
Bruce Wayne
2026-09-10 16:47:09 +08:00
committed by GitHub
parent 8d0500eded
commit 378f151c75
4 changed files with 5 additions and 10 deletions
-1
View File
@@ -25,7 +25,6 @@ SFA provides an unprivileged TUN implementation through Android VpnService.
| `inet6_route_address` | :material-check: | / |
| `inet4_route_exclude_address` | :material-check: | / |
| `inet6_route_exclude_address` | :material-check: | / |
| `endpoint_independent_nat` | :material-check: | / |
| `stack` | :material-check: | / |
| `include_interface` | :material-close: | No permission |
| `exclude_interface` | :material-close: | No permission |
-1
View File
@@ -27,7 +27,6 @@ SFI/SFM/SFT provides an unprivileged TUN implementation through NetworkExtension
| `inet6_route_address` | :material-check: | / |
| `inet4_route_exclude_address` | :material-check: | / |
| `inet6_route_exclude_address` | :material-check: | / |
| `endpoint_independent_nat` | :material-check: | / |
| `stack` | :material-check: | / |
| `include_interface` | :material-close: | Not implemented |
| `exclude_interface` | :material-close: | Not implemented |
+3 -6
View File
@@ -550,13 +550,10 @@ Exclude custom routes when `auto_route` is enabled.
#### endpoint_independent_nat
!!! info ""
This option has had no effect since sing-box 1.11.0 and can be removed from the configuration.
This item is only available on the gvisor stack, other stacks are endpoint-independent NAT by default.
Enable endpoint-independent NAT.
Performance may degrade slightly, so it is not recommended to enable on when it is not needed.
Since sing-box 1.14.0, use [UDP NAT fields](/configuration/shared/udp-nat/)
to customize the mapping and filtering behavior.
#### stack
+2 -2
View File
@@ -534,9 +534,9 @@ sing-box DNS 模块,等价于一条
#### endpoint_independent_nat
启用独立于端点的 NAT
此选项自 sing-box 1.11.0 起不再生效,可从配置中移除
性能可能会略有下降,所以不建议在不需要的时候开启
自 sing-box 1.14.0 起,可使用 [UDP NAT 字段](/zh/configuration/shared/udp-nat/)自定义映射和过滤行为
#### stack