Skip to content

Commit

Permalink
doc: add gso
Browse files Browse the repository at this point in the history
  • Loading branch information
wwqgtxx committed Dec 9, 2023
1 parent 06b4f88 commit ac73cbb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,14 @@ profile: # 存储 select 选择记录
# Tun 配置
tun:
enable: false
stack: system # gvisor / lwip
stack: system # gvisor/mixed
dns-hijack:
- 0.0.0.0:53 # 需要劫持的 DNS
# auto-detect-interface: true # 自动识别出口网卡
# auto-route: true # 配置路由表
# mtu: 9000 # 最大传输单元
# gso: false # 启用通用分段卸载, 仅支持 Linux
# gso-max-size: 65536 # 通用分段卸载包的最大大小
# strict-route: true # 将所有连接路由到tun来防止泄漏,但你的设备将无法其他设备被访问
inet4-route-address: # 启用 auto_route 时使用自定义路由而不是默认路由
- 0.0.0.0/1
Expand All @@ -107,6 +109,10 @@ tun:
- "::/1"
- "8000::/1"
# endpoint-independent-nat: false # 启用独立于端点的 NAT
# include_interface: # 限制被路由的接口。默认不限制, 与 `exclude_interface` 冲突
# - "lan0"
# exclude_interface: # 排除路由的接口, 与 `include_interface` 冲突
# - "lan1"
# include-uid: # UID 规则仅在 Linux 下被支持,并且需要 auto_route
# - 0
# include-uid-range: # 限制被路由的的用户范围
Expand Down

0 comments on commit ac73cbb

Please sign in to comment.