diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_nat_edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php index 25486df..b9dc725 100755 --- a/usr/local/www/firewall_nat_edit.php +++ b/usr/local/www/firewall_nat_edit.php @@ -246,11 +246,12 @@ function ext_rep_change() { foreach ($config['nat']['servernat'] as $sn): ?> <option value="<?=$sn['ipaddr'];?>" <?php if ($sn['ipaddr'] == $pconfig['extaddr']) echo "selected"; ?>><?=htmlspecialchars("{$sn['ipaddr']} ({$sn['descr']})");?></option> <?php endforeach; endif; ?> + <option value="any"<?php if($pconfig['extaddr'] == "any" echo " selected"; ?>></option> </select><br> <span class="vexpl"> If you want this rule to apply to another IP address than the IP address of the interface chosen above, select it here (you need to define IP addresses on the - <a href="firewall_nat_server.php">Server NAT</a> page first).</span></td> + <a href="firewall_nat_server.php">Server NAT</a> page first). Also note that if you are trying to redirect connections on the LAN select the "any" option.</span></td> </tr> <tr> <td width="22%" valign="top" class="vncellreq">Protocol</td> |