feat(routing): route router's own traffic through designated section
This commit is contained in:
@@ -1806,6 +1806,31 @@ function createSettingsContent(section, capabilities) {
|
||||
return true;
|
||||
};
|
||||
|
||||
o = section.taboption(
|
||||
"network",
|
||||
form.Flag,
|
||||
"route_router_traffic",
|
||||
_("Route Router's Own Traffic"),
|
||||
_(
|
||||
"Route local traffic originating directly from the router (e.g. wget, curl, opkg, torrent clients on the router) through Tachyon.",
|
||||
),
|
||||
);
|
||||
configureDownloadViaProxyFlag(o, "route_router_traffic_section");
|
||||
|
||||
o = section.taboption(
|
||||
"network",
|
||||
form.ListValue,
|
||||
"route_router_traffic_section",
|
||||
_("Router Traffic Target Section"),
|
||||
_("Select the section to route router's own traffic through."),
|
||||
);
|
||||
o.depends("route_router_traffic", "1");
|
||||
configureDownloadSectionOption(
|
||||
o,
|
||||
"route_router_traffic_section",
|
||||
capabilities,
|
||||
);
|
||||
|
||||
o = section.taboption(
|
||||
"services",
|
||||
form.Flag,
|
||||
|
||||
Reference in New Issue
Block a user