Commit cb2e961a authored by Franco Fichtner's avatar Franco Fichtner

firewall: fix typo

(cherry picked from commit 5f50315c)
parent 9b74e3c1
......@@ -214,7 +214,7 @@
Enable transparent proxy mode. You will need a firewall rule to forward traffic from the firewall to the proxy server.
You may leave the proxy interfaces empty, but remember to set a valid ACL in that case.
<br/>
<a href="/firewall_nat_edit.php?template=transparant_proxy"> Add a new firewall rule </a>
<a href="/firewall_nat_edit.php?template=transparent_proxy"> Add a new firewall rule </a>
]]></help>
</field>
<field>
......@@ -228,7 +228,7 @@
<br/><br/>
Transparent HTTP proxy needs to be enabled and you need nat rules to reflect your traffic
for this feature to work.<br/>
<a href="/firewall_nat_edit.php?template=transparant_proxy&https=1"> Add a new firewall rule </a>
<a href="/firewall_nat_edit.php?template=transparent_proxy&https=1"> Add a new firewall rule </a>
]]></help>
</field>
<field>
......
......@@ -87,8 +87,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$pconfig['ipprotocol'] = 'inet';
}
}
} elseif (isset($_GET['template']) && $_GET['template'] == 'transparant_proxy') {
// new rule for transparant proxy reflection, to use as sample
} elseif (isset($_GET['template']) && $_GET['template'] == 'transparent_proxy') {
// new rule for transparent proxy reflection, to use as sample
$pconfig['interface'] = "lan";
$pconfig['src'] = "lan";
$pconfig['dst'] = "any";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment