summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-09 23:04:08 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-09 23:04:08 +0000
commite6bbd933dde97e75a6f91cad6509bc62ef09d34d (patch)
treec8b89f560fca540102291af6e7a9c6eae142ca98 /usr/local/www/system_advanced.php
parent8c984f57b726b029a78011c47500cbf4ac849910 (diff)
downloadpfsense-e6bbd933dde97e75a6f91cad6509bc62ef09d34d.zip
pfsense-e6bbd933dde97e75a6f91cad6509bc62ef09d34d.tar.gz
* Show WAN instead of LAN when LAN does not exist for anti-lockout
* Do not show the LAN interface when it is not present in SSH config options
Diffstat (limited to 'usr/local/www/system_advanced.php')
-rwxr-xr-xusr/local/www/system_advanced.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index d6e161c..9d48761 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -508,17 +508,23 @@ include("head.inc");
</td>
</tr>
<?php endif; ?>
+<?php
+ if($config['interfaces']['lan'])
+ $lockout_interface = "LAN";
+ else
+ $lockout_interface = "WAN";
+?>
<tr>
<td width="22%" valign="top" class="vncell">webConfigurator anti-lockout</td>
<td width="78%" class="vtable">
<input name="noantilockout" type="checkbox" id="noantilockout" value="yes" <?php if ($pconfig['noantilockout']) echo "checked"; ?> />
<strong>Disable webConfigurator anti-lockout rule</strong>
<br />
- By default, access to the webConfigurator on the LAN interface is always permitted, regardless of the user-defined filter
+ By default, access to the webConfigurator on the {$lockout_interface} interface is always permitted, regardless of the user-defined filter
rule set. Enable this feature to control webConfigurator access (make sure to have a filter rule in place that allows you
in, or you will lock yourself out!).
<br />
- Hint: the &quot;set LAN IP address&quot; option in the console menu resets this setting as well.
+ Hint: the &quot;set configure IP address&quot; option in the console menu resets this setting as well.
</td>
</tr>
<tr>
OpenPOWER on IntegriCloud