add func to insert resolve action in route.rules section

This commit is contained in:
romanvht
2026-05-09 02:49:40 +10:00
parent 21085f3ac3
commit 8b2abc0b28
5 changed files with 68 additions and 1 deletions

View File

@@ -683,6 +683,17 @@ function createSectionContent(section) {
);
o.rmempty = false;
o.depends("mixed_proxy_enabled", "1");
o = section.option(
form.Flag,
"resolve_real_ip_for_routing",
_("Resolve real IP for routing"),
_("Enable DNS resolve to get real IP when routing"),
);
o.default = "0";
o.rmempty = false;
o.depends("connection_type", "proxy");
o.depends("connection_type", "vpn");
}
const EntryPoint = {