luci-proto-ipv6: aiccu improvements
- option heartbeat as tunnel type (heartbeat or AYIYA) (inspired by idea of openwrt forum user thefRont) - another typo fix in the mtu option
This commit is contained in:
parent
42e2280977
commit
c8fe297dc9
1 changed files with 14 additions and 13 deletions
|
@ -57,18 +57,12 @@ ip6prefix.datatype = "ip6prefix"
|
||||||
ip6prefix.optional = true
|
ip6prefix.optional = true
|
||||||
|
|
||||||
|
|
||||||
requiretls = section:taboption("general", Flag, "requiretls",
|
heartbeat = s:taboption("general", ListValue, "heartbeat",
|
||||||
translate("Require TLS"),
|
translate("Tunnel type"),
|
||||||
translate("Connection to server fails when TLS cannot be used"))
|
translate("Also see <a href=\"https://www.sixxs.net/faq/connectivity/?faq=comparison\">Tunneling Comparison</a> on SIXXS"))
|
||||||
requiretls.optional = true
|
heartbeat:value("0", translate("AYIYA"))
|
||||||
requiretls.default = requiretls.enabled
|
heartbeat:value("1", translate("Heartbeat"))
|
||||||
|
heartbeat.default = "0"
|
||||||
|
|
||||||
heartbeat = section:taboption("general", Flag, "heartbeat",
|
|
||||||
translate("Make heartbeats"),
|
|
||||||
translate("Use when IPv4 address of local WAN may change dynamically, does not apply to static tunnels"))
|
|
||||||
heartbeat.optional = true
|
|
||||||
heartbeat.default = heartbeat.enabled
|
|
||||||
|
|
||||||
|
|
||||||
nat = section:taboption("general", Flag, "nat",
|
nat = section:taboption("general", Flag, "nat",
|
||||||
|
@ -78,6 +72,13 @@ nat.optional = true
|
||||||
nat.default = disabled
|
nat.default = disabled
|
||||||
|
|
||||||
|
|
||||||
|
requiretls = section:taboption("general", Flag, "requiretls",
|
||||||
|
translate("Require TLS"),
|
||||||
|
translate("Connection to server fails when TLS cannot be used"))
|
||||||
|
requiretls.optional = true
|
||||||
|
requiretls.default = requiretls.enabled
|
||||||
|
|
||||||
|
|
||||||
verbose = section:taboption("advanced", Flag, "verbose",
|
verbose = section:taboption("advanced", Flag, "verbose",
|
||||||
translate("Verbose"),
|
translate("Verbose"),
|
||||||
translate("Verbose logging by aiccu daemon"))
|
translate("Verbose logging by aiccu daemon"))
|
||||||
|
@ -128,7 +129,7 @@ ttl.placeholder = "64"
|
||||||
|
|
||||||
|
|
||||||
mtu = section:taboption("advanced", Value, "mtu",
|
mtu = section:taboption("advanced", Value, "mtu",
|
||||||
translate("Use MTU on tunnel interface"))
|
translate("Use MTU on tunnel interface"),
|
||||||
translate("minimum 1280, maximum 1480"))
|
translate("minimum 1280, maximum 1480"))
|
||||||
mtu.datatype = "range(1280,1480)"
|
mtu.datatype = "range(1280,1480)"
|
||||||
mtu.placeholder = "1280"
|
mtu.placeholder = "1280"
|
||||||
|
|
Loading…
Reference in a new issue