ip6prefix.optional = true
-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
-
-
-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
+heartbeat = s:taboption("general", ListValue, "heartbeat",
+ translate("Tunnel type"),
+ translate("Also see <a href=\"https://www.sixxs.net/faq/connectivity/?faq=comparison\">Tunneling Comparison</a> on SIXXS"))
+heartbeat:value("0", translate("AYIYA"))
+heartbeat:value("1", translate("Heartbeat"))
+heartbeat.default = "0"
nat = section:taboption("general", Flag, "nat",
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",
translate("Verbose"),
translate("Verbose logging by aiccu daemon"))
mtu = section:taboption("advanced", Value, "mtu",
- translate("Use MTU on tunnel interface"))
+ translate("Use MTU on tunnel interface"),
translate("minimum 1280, maximum 1480"))
mtu.datatype = "range(1280,1480)"
mtu.placeholder = "1280"