diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-12 04:35:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-12 04:35:04 +0000 |
commit | a9b19d7f80b9033ad4e1e630a2754b942e09eb06 (patch) | |
tree | 2affce995bdfb075d97a38dcfc6185d011f2c1be /usr | |
parent | 85772d789fdddd30f928059528c07b8bb6513e05 (diff) | |
download | pfsense-a9b19d7f80b9033ad4e1e630a2754b942e09eb06.zip pfsense-a9b19d7f80b9033ad4e1e630a2754b942e09eb06.tar.gz |
MFC 7522
Add NAT Reflection AKA Nat Bouncing nat Flashback and many other groovy names.
Sponsored-by: Greenhagen, Robin <Robin_AT_gsi-kc.com>
Please visit http://www.gsihosting.com/ for all your hosting needs as they are sponsoring pfSense and plan to use it extensively!
As an added bonus, this will be MFC'd very soon. Please thank them with your support!
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_advanced.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php index 86b3826..0bc236d 100755 --- a/usr/local/www/system_advanced.php +++ b/usr/local/www/system_advanced.php @@ -59,6 +59,8 @@ $pconfig['sshport'] = $config['system']['ssh']['port']; $pconfig['sharednet'] = $config['system']['sharednet']; $pconfig['polling_enable'] = isset($config['system']['polling']); +$pconfig['disablenatreflection'] = $config['system']['disablenatreflection']; + if ($_POST) { unset($input_errors); @@ -187,6 +189,12 @@ if ($_POST) { unset($config['system']['enablesshd']); } + if($_POST['disablenatreflection'] == "yes") { + $config['system']['disablenatreflection'] = $_POST['disablenatreflection']; + } else { + unset($config['system']['disablenatreflection']); + } + $config['ipsec']['preferoldsa'] = $_POST['preferoldsa_enable'] ? true : false; /* pfSense themes */ @@ -586,6 +594,21 @@ include("head.inc"); <span class="vexpl">Note: Leave this blank for the default of 10000</span> </td> </tr> + + <tr> + <td colspan="2" class="list" height="12"> </td> + </tr> + <tr> + <td colspan="2" valign="top" class="listtopic">Network Address Translation</td> + </tr> + <tr> + <td width="22%" valign="top" class="vncell">Disable FTP Nat Reflection</td> + <td width="78%" class="vtable"> + <input name="disablenatreflection" type="checkbox" id="disablenatreflection" value="yes" <?php if (isset($config['system']['disablenatreflection'])) echo "checked"; ?> onclick="enable_change(false)" /> + <strong>Disables the automatic creation of NAT redirect rules for LAN/OPTIONAL interfaces that redirect from WAN -> LAN, etc.</strong> + </td> + </tr> + <tr> <td width="22%" valign="top"> </td> <td width="78%"><input name="Submit" type="submit" class="formbtn" value="Save" onclick="enable_change(true)" /></td> |