{{define "title"}}
全局设置
{{end}}
{{define "top_css"}}
{{end}}
{{define "username"}}
{{ .username }}
{{end}}
{{define "page_title"}}
全局设置
{{end}}
{{define "page_content"}}
- 1. 端点地址
} - 客户端将连接到的 WireGuard 服务器公网 IP。点击 建议 按钮可自动检测服务器公网地址。
} - 2. DNS 服务器
} - 这些 DNS 服务器将写入客户端配置。
} - 3. MTU
- MTU 会应用到服务器和客户端配置,默认值为
1450。若连接(例如 PPPoE、3G、卫星网络等)MTU 较小,可在此调整。
- 留空则在配置中忽略此设置。
} - 4. 持久 Keepalive
} - 默认情况下,当 WireGuard 节点无需通信时会保持静默,如果节点位于 NAT 或防火墙之后,可能无法被其他节点主动访问,除非先发起请求。设置
PersistentKeepalive 可确保连接保持畅通。
- 留空则在客户端配置中忽略此项。
} - 5. 防火墙标记
- 为 WireGuard 非默认路由通道发出的所有数据包添加匹配的
fwmark。默认值:0xca6c
} - 6. 路由表(Table)
- wg 配置文件中
Table 选项的值。默认值:auto
- 7. WireGuard 配置文件路径
- WireGuard 服务器配置文件路径,请确保父目录存在且可写。
}
以下列出可供选择的公网与本地 IP 地址。
}
{{end}}
{{define "bottom_js"}}
{{end}}