update 2025-05-03 20:39:13
This commit is contained in:
parent
2a854771a6
commit
46a7d7669c
|
@ -238,7 +238,7 @@ o = s:option(ListValue, "v2ray_protocol", translate("V2Ray/XRay protocol"))
|
||||||
o:value("vless", translate("VLESS"))
|
o:value("vless", translate("VLESS"))
|
||||||
o:value("vmess", translate("VMess"))
|
o:value("vmess", translate("VMess"))
|
||||||
o:value("trojan", translate("Trojan"))
|
o:value("trojan", translate("Trojan"))
|
||||||
o:value("shadowsocks", translate("Shadowsocks"))
|
o:value("shadowsocks", translate("ShadowSocks"))
|
||||||
if is_finded("xray") then
|
if is_finded("xray") then
|
||||||
o:value("wireguard", translate("WireGuard"))
|
o:value("wireguard", translate("WireGuard"))
|
||||||
end
|
end
|
||||||
|
@ -518,7 +518,7 @@ o.default = ""
|
||||||
o = s:option(ListValue, "chain_type", translate("Shadow-TLS ChainPoxy type"))
|
o = s:option(ListValue, "chain_type", translate("Shadow-TLS ChainPoxy type"))
|
||||||
o:depends("type", "shadowtls")
|
o:depends("type", "shadowtls")
|
||||||
if is_finded("sslocal") then
|
if is_finded("sslocal") then
|
||||||
o:value("sslocal", translate("Shadowsocks-rust Version"))
|
o:value("sslocal", translate("ShadowSocks-rust Version"))
|
||||||
end
|
end
|
||||||
if is_finded("xray") or is_finded("v2ray") then
|
if is_finded("xray") or is_finded("v2ray") then
|
||||||
o:value("vmess", translate("Vmess Protocol"))
|
o:value("vmess", translate("Vmess Protocol"))
|
||||||
|
|
|
@ -160,7 +160,7 @@ o:value("tcp://4.2.2.1:53,tcp://4.2.2.2:53", translate("Level 3 Public DNS-2 (4.
|
||||||
o:value("tcp://4.2.2.3:53,tcp://4.2.2.4:53", translate("Level 3 Public DNS-3 (4.2.2.3-4)"))
|
o:value("tcp://4.2.2.3:53,tcp://4.2.2.4:53", translate("Level 3 Public DNS-3 (4.2.2.3-4)"))
|
||||||
o:value("tcp://1.1.1.1:53,tcp://1.0.0.1:53", translate("Cloudflare DNS"))
|
o:value("tcp://1.1.1.1:53,tcp://1.0.0.1:53", translate("Cloudflare DNS"))
|
||||||
o:depends("pdnsd_enable", "4")
|
o:depends("pdnsd_enable", "4")
|
||||||
o.description = translate("Custom DNS Server for mosdns")
|
o.description = translate("Custom DNS Server for MosDNS")
|
||||||
|
|
||||||
o = s:option(Flag, "mosdns_ipv6", translate("Disable IPv6 in MOSDNS query mode"))
|
o = s:option(Flag, "mosdns_ipv6", translate("Disable IPv6 in MOSDNS query mode"))
|
||||||
o:depends("pdnsd_enable", "4")
|
o:depends("pdnsd_enable", "4")
|
||||||
|
|
|
@ -86,7 +86,7 @@ o.rmempty = false
|
||||||
o = s:option(ListValue, "type", translate("Server Type"))
|
o = s:option(ListValue, "type", translate("Server Type"))
|
||||||
o:value("socks5", translate("Socks5"))
|
o:value("socks5", translate("Socks5"))
|
||||||
if nixio.fs.access("/usr/bin/ssserver") or nixio.fs.access("/usr/bin/ss-server") then
|
if nixio.fs.access("/usr/bin/ssserver") or nixio.fs.access("/usr/bin/ss-server") then
|
||||||
o:value("ss", translate("Shadowsocks"))
|
o:value("ss", translate("ShadowSocks"))
|
||||||
end
|
end
|
||||||
if nixio.fs.access("/usr/bin/ssr-server") then
|
if nixio.fs.access("/usr/bin/ssr-server") then
|
||||||
o:value("ssr", translate("ShadowsocksR"))
|
o:value("ssr", translate("ShadowsocksR"))
|
||||||
|
@ -143,7 +143,7 @@ end
|
||||||
o.rmempty = false
|
o.rmempty = false
|
||||||
o:depends("type", "ssr")
|
o:depends("type", "ssr")
|
||||||
|
|
||||||
o = s:option(Value, "obfs_param", translate("Obfs param(optional)"))
|
o = s:option(Value, "obfs_param", translate("Obfs param (optional)"))
|
||||||
o:depends("type", "ssr")
|
o:depends("type", "ssr")
|
||||||
|
|
||||||
o = s:option(Flag, "fast_open", translate("TCP Fast Open"))
|
o = s:option(Flag, "fast_open", translate("TCP Fast Open"))
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue