Revise the description of relay_network_whitelist (#235)

This commit is contained in:
Xiao Tan
2024-08-09 23:52:05 +08:00
committed by GitHub
parent 7cae63cb17
commit d135dd5a6f

View File

@@ -97,5 +97,5 @@ core_clap:
en: "assign routes cidr manually, will disable subnet proxy and wireguard routes propagated from peers. e.g.: 192.168.0.0/16"
zh-CN: "手动分配路由CIDR将禁用子网代理和从对等节点传播的wireguard路由。例如192.168.0.0/16"
relay_network_whitelist:
en: "only relay traffic of whitelisted networks, input is a wildcard string, e.g.: '*' (all networks), 'def*' (network prefixed with def), can specify multiple networks disable relay if arg is empty. default is allowing all networks"
zh-CN: "仅转发白名单网络的流量,输入是通配符字符串例如:'*'(所有网络),'def*'以def为前缀的网络可以指定多个网络。如果参数为空,则禁用转发。默认允许所有网络"
en: "only forward traffic from the whitelist networks, supporting wildcard strings, prefixes, and multiple network names can be separated by spaces. if this parameter is empty, forwarding is disabled. by default, all networks are allowed. e.g.: '*' (all networks), 'def*' (networks with the prefix 'def'), 'net1 net2' (only allow net1 and net2)"
zh-CN: "仅转发白名单网络的流量,支持通配符字符串、前缀、多个网络名称间可以使用英文空格间隔。如果该参数为空,则禁用转发。默认允许所有网络。例如:'*'(所有网络),'def*'以def为前缀的网络'net1 net2'只允许net1和net2"