summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-04 22:59:16 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-04 22:59:16 +0000
commit10f21e70786eb856b6a34dd5089bad3e8aeda43d (patch)
treecaefb0aa195d1813a96fe814c02895cc709dd89a /usr/local/www/firewall_nat_out_edit.php
parent9e49dae81113ce85a6d026568a2b8f9c2a15e038 (diff)
downloadpfsense-10f21e70786eb856b6a34dd5089bad3e8aeda43d.zip
pfsense-10f21e70786eb856b6a34dd5089bad3e8aeda43d.tar.gz
MFC 8288
Add NOSYNC options to firewall rules and firewall nat outbound
Diffstat (limited to 'usr/local/www/firewall_nat_out_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_out_edit.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php
index f12f14a..cf8e9d4 100755
--- a/usr/local/www/firewall_nat_out_edit.php
+++ b/usr/local/www/firewall_nat_out_edit.php
@@ -63,6 +63,7 @@ if (isset($id) && $a_out[$id]) {
$pconfig['interface'] = "wan";
$pconfig['descr'] = $a_out[$id]['descr'];
$pconfig['nonat'] = $a_out[$id]['nonat'];
+ $pconfig['nosync'] = isset($a_out[$id]['nosync']);
} else {
$pconfig['source_subnet'] = 24;
$pconfig['destination'] = "any";
@@ -206,6 +207,11 @@ if ($_POST) {
$a_out[] = $natent;
}
+ if($_POST['nosync'] <> "")
+ $natent['nosync'] = true;
+ else
+ unset($natent['nosync']);
+
touch($d_natconfdirty_path);
write_config();
@@ -391,6 +397,12 @@ function sourcesel_change() {
</td>
</tr>
<tr>
+ <td width="22%" valign="top" class="vncell">No XMLRPC Sync</td>
+ <td width="78%" class="vtable">
+ <input name="nosync" type="text" class="formfld" id="nosync"<?php if($pconfig['nosync']) echo " CHECKED"; ?>>
+ </td>
+ </tr>
+ <tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
<input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
OpenPOWER on IntegriCloud