translatef("Please check the %sREADME%s before changing this option.","<a href=\""..readmeURL.."#service-configuration-settings".."\" target=\"_blank\">","</a>"))
translatef("%sWARNING:%s Please make sure to check the %sREADME%s before changing anything in this section! Change any of the settings below with extreme caution!%s","<br/> <b>","</b>","<a href=\""..readmeURL.."#service-configuration-settings".."\" target=\"_blank\">","</a>","<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."))
dest_ipset=config:taboption("advanced",ListValue,"dest_ipset",translate("The ipset option for remote policies"),
translatef("Please check the %sREADME%s before changing this option.","<a href=\""..readmeURL.."#service-configuration-settings".."\" target=\"_blank\">","</a>"))
src_ipset=config:taboption("advanced",ListValue,"src_ipset",translate("The ipset option for local policies"),
translatef("Please check the %sREADME%s before changing this option.","<a href=\""..readmeURL.."#service-configuration-settings".."\" target=\"_blank\">","</a>"))
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"
icmp=config:taboption("advanced",ListValue,"icmp_interface",translate("Default ICMP Interface"),translate("Force the ICMP protocol interface."))
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_show_ignore_target=config:taboption("webui",ListValue,"webui_show_ignore_target",translate("Add IGNORE Target"),translate("Adds `IGNORE` to the list of interfaces for policies, allowing you to skip further processing by VPN Policy Routing."))
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."))
translatef("Set DSCP tags (in range between 1 and 63) for specific interfaces. See the %sREADME%s for details.","<a href=\""..readmeURL.."#dscp-tag-based-policies".."\" target=\"_blank\">","</a>"))
translatef("Run the following user files after setting up but before restarting DNSMASQ. See the %sREADME%s for details.","<a href=\""..readmeURL.."#custom-user-files".."\" target=\"_blank\">","</a>"))