There was an error while loading. Please reload this page.
1 parent 17b1271 commit 3a33446Copy full SHA for 3a33446
1 file changed
scripts/demo.js
@@ -26,7 +26,7 @@ function operator(proxies = [], targetPlatform, context) {
26
// 12. 以 Surge 为例, 最新的参数一般我都会跟进, 以 Surge 文档为例, 一些常用的: TUIC/Hysteria 2 的 `ecn`, Snell 的 `reuse` 连接复用, QUIC 策略 block-quic`, Hysteria 2 下载带宽 `down`
27
// 13. `test-url` 为测延迟链接, `test-timeout` 为测延迟超时
28
// 14. `ports` 为端口跳跃, `hop-interval` 变换端口号的时间间隔
29
- // 15. `ip-version` 设置节点使用 IP 版本,可选:dual,ipv4,ipv6,ipv4-prefer,ipv6-prefer. 会进行内部转换, 若无法匹配则使用原始值
+ // 15. `ip-version` 设置节点使用 IP 版本,兼容各家的值. 会进行内部转换. sing-box 以外: 若无法匹配则使用原始值. sing-box: 需有匹配且节点上设置 `_dns_server` 字段, 将自动设置 `domain_resolver.server`
30
// 16. `sing-box` 支持使用 `_network` 来设置 `network`, 例如 `tcp`, `udp`
31
// 17. `block-quic` 支持 `auto`, `on`, `off`. 不同的平台不一定都支持, 会自动转换
32
0 commit comments