diff options
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/system_advanced_firewall.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced_firewall.php b/usr/local/www/system_advanced_firewall.php index 0a944a9..38d12c1 100644 --- a/usr/local/www/system_advanced_firewall.php +++ b/usr/local/www/system_advanced_firewall.php @@ -124,6 +124,11 @@ if ($_POST) { else $config['system']['enablebinatreflection'] = "yes"; + if($_POST['enablenatreflectionhelper'] == "yes") + $config['system']['enablenatreflectionhelper'] = "yes"; + else + unset($config['system']['enablenatreflectionhelper']); + $config['system']['reflectiontimeout'] = $_POST['reflectiontimeout']; if($_POST['bypassstaticroutes'] == "yes") @@ -348,6 +353,15 @@ function update_description(itemnum) { </td> </tr> <tr> + <td width="22%" valign="top" class="vncell"> </td> + <td width="78%" class="vtable"> + <input name="enablenatreflectionhelper" type="checkbox" id="enablenatreflectionhelper" value="yes" <?php if (isset($config['system']['enablenatreflectionhelper'])) echo "checked"; ?> /> + <strong><?=gettext("Automatically create outbound NAT rules which assist inbound NAT rules that direct traffic back out to the same subnet it originated from.");?></strong> + <br/> + <?=gettext("Currently only applies to 1:1 NAT rules. Required for full functionality of NAT Reflection for 1:1 NAT.");?> + </td> + </tr> + <tr> <td width="22%" valign="top" class="vncell"><?=gettext("TFTP Proxy");?></td> <td width="78%" class="vtable"> <select name="tftpinterface[]" multiple="true" class="formselect" size="3"> |