doc: update tor listeners' tun
This commit is contained in:
parent
dcbe25c3ae
commit
2d2b75a4bf
1 changed files with 10 additions and 6 deletions
|
@ -759,13 +759,17 @@ listeners:
|
||||||
# auto-detect-interface: false # 自动识别出口网卡
|
# auto-detect-interface: false # 自动识别出口网卡
|
||||||
# auto-route: false # 配置路由表
|
# auto-route: false # 配置路由表
|
||||||
# mtu: 9000 # 最大传输单元
|
# mtu: 9000 # 最大传输单元
|
||||||
|
inet4-address: # 必须手动设置ipv4地址段
|
||||||
|
- 198.19.0.1/30
|
||||||
|
inet6-address: # 必须手动设置ipv6地址段
|
||||||
|
- "fdfe:dcba:9877::1/126"
|
||||||
# strict_route: true # 将所有连接路由到tun来防止泄漏,但你的设备将无法其他设备被访问
|
# strict_route: true # 将所有连接路由到tun来防止泄漏,但你的设备将无法其他设备被访问
|
||||||
inet4_route_address: # 启用 auto_route 时使用自定义路由而不是默认路由
|
# inet4_route_address: # 启用 auto_route 时使用自定义路由而不是默认路由
|
||||||
- 0.0.0.0/1
|
# - 0.0.0.0/1
|
||||||
- 128.0.0.0/1
|
# - 128.0.0.0/1
|
||||||
inet6_route_address: # 启用 auto_route 时使用自定义路由而不是默认路由
|
# inet6_route_address: # 启用 auto_route 时使用自定义路由而不是默认路由
|
||||||
- "::/1"
|
# - "::/1"
|
||||||
- "8000::/1"
|
# - "8000::/1"
|
||||||
# endpoint_independent_nat: false # 启用独立于端点的 NAT
|
# endpoint_independent_nat: false # 启用独立于端点的 NAT
|
||||||
# include_uid: # UID 规则仅在 Linux 下被支持,并且需要 auto_route
|
# include_uid: # UID 规则仅在 Linux 下被支持,并且需要 auto_route
|
||||||
# - 0
|
# - 0
|
||||||
|
|
Loading…
Reference in a new issue