summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_1to1_edit.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-12-25 15:56:43 -0500
committerChris Buechler <cmb@pfsense.org>2010-12-25 15:56:43 -0500
commitdf0c55a34bee26ff011cf9689d8008603eddf399 (patch)
treebc1dad127e166b3f87f1725023129a2d8192c8fe /usr/local/www/firewall_nat_1to1_edit.php
parent3ec4b9dedfc8b67406b78dc34106855c14f76fe1 (diff)
downloadpfsense-df0c55a34bee26ff011cf9689d8008603eddf399.zip
pfsense-df0c55a34bee26ff011cf9689d8008603eddf399.tar.gz
switch back to Internal rather than Source, Source is just confusing
Diffstat (limited to 'usr/local/www/firewall_nat_1to1_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_1to1_edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/firewall_nat_1to1_edit.php b/usr/local/www/firewall_nat_1to1_edit.php
index 199adef..e586fba 100755
--- a/usr/local/www/firewall_nat_1to1_edit.php
+++ b/usr/local/www/firewall_nat_1to1_edit.php
@@ -141,10 +141,10 @@ if ($_POST) {
if (!is_specialnet($_POST['srctype'])) {
if (($_POST['src'] && !is_ipaddroralias($_POST['src']))) {
- $input_errors[] = sprintf(gettext("%s is not a valid source IP address or alias."), $_POST['src']);
+ $input_errors[] = sprintf(gettext("%s is not a valid internal IP address or alias."), $_POST['src']);
}
if (($_POST['srcmask'] && !is_numericint($_POST['srcmask']))) {
- $input_errors[] = gettext("A valid source bit count must be specified.");
+ $input_errors[] = gettext("A valid internal bit count must be specified.");
}
}
if (!is_specialnet($_POST['dsttype'])) {
@@ -309,12 +309,12 @@ function typesel_change() {
<td width="78%" class="vtable">
<input name="external" type="text" class="formfldalias" id="external" size="20" value="<?=htmlspecialchars($pconfig['external']);?>">
<br/>
- <span class="vexpl"><?=gettext("Enter the external (usually on a WAN) subnet's starting address for the 1:1 mapping. The subnet mask from the source address below will be applied to this IP address."); ?><br>
+ <span class="vexpl"><?=gettext("Enter the external (usually on a WAN) subnet's starting address for the 1:1 mapping. The subnet mask from the internal address below will be applied to this IP address."); ?><br>
<?=gettext("Hint: this is generally an address owned by the router itself on the selected interface."); ?></span>
</td>
</tr>
<tr>
- <td width="22%" valign="top" class="vncellreq"><?=gettext("Source"); ?></td>
+ <td width="22%" valign="top" class="vncellreq"><?=gettext("Internal IP"); ?></td>
<td width="78%" class="vtable">
<input name="srcnot" type="checkbox" id="srcnot" value="yes" <?php if ($pconfig['srcnot']) echo "checked"; ?>>
<strong><?=gettext("not"); ?></strong>
OpenPOWER on IntegriCloud