diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 23:04:08 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 23:04:08 +0000 |
commit | e6bbd933dde97e75a6f91cad6509bc62ef09d34d (patch) | |
tree | c8b89f560fca540102291af6e7a9c6eae142ca98 /usr | |
parent | 8c984f57b726b029a78011c47500cbf4ac849910 (diff) | |
download | pfsense-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')
-rwxr-xr-x | usr/local/www/system_advanced.php | 10 |
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 "set LAN IP address" option in the console menu resets this setting as well. + Hint: the "set configure IP address" option in the console menu resets this setting as well. </td> </tr> <tr> |