..translate("before changing anything in this section! Change any of the settings below with extreme caution!").."<br/><br/>")
supportedIface=config:taboption("advanced",DynamicList,"supported_interface",translate("Supported Interfaces"),translate("Allows to specify the list of interface names (in lower case) to be explicitly supported by the service. Can be useful if your OpenVPN tunnels have dev option other than tun* or tap*."))
supportedIface.optional=false
ignoredIface=config:taboption("advanced",DynamicList,"ignored_interface",translate("Ignored Interfaces"),translate("Allows to specify the list of interface names (in lower case) to be ignored by the service. Can be useful if running both VPN server and VPN client on the router."))
ignoredIface.optional=false
timeout=config:taboption("advanced",Value,"boot_timeout",translate("Boot Time-out"),translate("Time (in seconds) for service to wait for WAN gateway discovery on boot."))
timeout.optional=false
timeout.rmempty=true
insert=config:taboption("advanced",ListValue,"iptables_rule_option",translate("IPTables rule option"),translate("Select Append for -A and Insert for -I."))
insert:value("append",translate("Append"))
insert:value("insert",translate("Insert"))
insert.default="append"
iprule=config:taboption("advanced",ListValue,"iprule_enabled",translate("IP Rules Support"),translate("Add an ip rule, not an iptables entry for policies with just the local address. Use with caution to manipulte policies priorities."))
iprule:value("0",translate("Disabled"))
iprule:value("1",translate("Enabled"))
icmp=config:taboption("advanced",ListValue,"icmp_interface",translate("Default ICMP Interface"),translate("Force the ICMP protocol interface."))
append_local=config:taboption("advanced",Value,"append_src_rules",translate("Append local IP Tables rules"),translate("Special instructions to append iptables rules for local IPs/netmasks/devices."))
append_local.rmempty=true
append_remote=config:taboption("advanced",Value,"append_dest_rules",translate("Append remote IP Tables rules"),translate("Special instructions to append iptables rules for remote IPs/netmasks."))
append_remote.rmempty=true
wantid=config:taboption("advanced",Value,"wan_tid",translate("WAN Table ID"),translate("Starting (WAN) Table ID number for tables created by the service."))
wantid.rmempty=true
wantid.placeholder="201"
wantid.datatype='and(uinteger, min(201))'
wanmark=config:taboption("advanced",Value,"wan_mark",translate("WAN Table FW Mark"),translate("Starting (WAN) FW Mark for marks used by the service. High starting mark is used to avoid conflict with SQM/QoS. Change with caution together with")..""..translate("Service FW Mask")..".")
wanmark.rmempty=true
wanmark.placeholder="0x010000"
wanmark.datatype="hex(8)"
fwmask=config:taboption("advanced",Value,"fw_mask",translate("Service FW Mask"),translate("FW Mask used by the service. High mask is used to avoid conflict with SQM/QoS. Change with caution together with")..""..translate("WAN Table FW Mark")..".")
webui_enable_column=config:taboption("webui",ListValue,"webui_enable_column",translate("Show Enable Column"),translate("Shows the enable checkbox column for policies, allowing you to quickly enable/disable specific policy without deleting it."))
webui_protocol_column=config:taboption("webui",ListValue,"webui_protocol_column",translate("Show Protocol Column"),translate("Shows the protocol column for policies, allowing you to assign a specific protocol to a policy."))
webui_supported_protocol=config:taboption("webui",DynamicList,"webui_supported_protocol",translate("Supported Protocols"),translate("Display these protocols in protocol column in Web UI."))
webui_supported_protocol.optional=false
webui_chain_column=config:taboption("webui",ListValue,"webui_chain_column",translate("Show Chain Column"),translate("Shows the chain column for policies, allowing you to assign a PREROUTING, FORWARD, INPUT or OUTPUT chain to a policy."))
webui_sorting=config:taboption("webui",ListValue,"webui_sorting",translate("Show Up/Down Buttons"),translate("Shows the Up/Down buttons for policies, allowing you to move a policy up or down in the list."))
webui_sorting:value("0",translate("Disabled"))
webui_sorting:value("1",translate("Enabled"))
webui_sorting.default="1"
-- Policies
p=m:section(TypedSection,"policy",translate("Policies"),translate("Comment, interface and at least one other field are required. Multiple local and remote addresses/devices/domains and ports can be space separated. Placeholders below represent just the format/syntax and will not be used if fields are left blank."))
dscp=m:section(NamedSection,"config","vpn-policy-routing",translate("DSCP Tagging"),translate("Set DSCP tags (in range between 1 and 63) for specific interfaces. See the")..""
inc=m:section(TypedSection,"include",translate("Custom User File Includes"),translate("Run the following user files after setting up but before restarting DNSMASQ. See the")..""