summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-21 16:03:42 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-21 16:03:42 +0000
commitff091d96117d0e821271ed9b4c5ff6590ff5146f (patch)
tree82717f1ab713d1e8038b9d442b58915969b36102 /usr/local/www/system_advanced.php
parent2c8e5579bf15fe05a586d843709eaa61aaee5a57 (diff)
downloadpfsense-ff091d96117d0e821271ed9b4c5ff6590ff5146f.zip
pfsense-ff091d96117d0e821271ed9b4c5ff6590ff5146f.tar.gz
Add an option to disable firewall scrubbing altogether.
Diffstat (limited to 'usr/local/www/system_advanced.php')
-rwxr-xr-xusr/local/www/system_advanced.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 4f29e0c..b0d971a 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -57,6 +57,7 @@ $pconfig['polling_enable'] = isset($config['system']['polling']);
$pconfig['bypassstaticroutes'] = isset($config['filter']['bypassstaticroutes']);
$pconfig['disablenatreflection'] = $config['system']['disablenatreflection'];
$pconfig['disablechecksumoffloading'] = isset($config['system']['disablechecksumoffloading']);
+$pconfig['disablescrub'] = isset($config['system']['disablescrub']);
if ($_POST) {
@@ -203,6 +204,12 @@ if ($_POST) {
unset($config['system']['disablechecksumoffloading']);
}
+ if($_POST['disablescrub'] == "yes") {
+ $config['system']['disablescrub'] = $_POST['disablescrub'];
+ } else {
+ unset($config['system']['disablescrub']);
+ }
+
if($_POST['disablenatreflection'] == "yes") {
$config['system']['disablenatreflection'] = $_POST['disablenatreflection'];
} else {
@@ -532,6 +539,15 @@ include("head.inc");
</td>
</tr>
<tr>
+ <td width="22%" valign="top" class="vncell">Disable Firewall Scrub</td>
+ <td width="78%" class="vtable">
+ <input name="disablescrub" type="checkbox" id="disablescrub" value="yes" <?php if (isset($config['system']['disablescrub'])) echo "checked"; ?> onclick="enable_change(false)" />
+ <strong>Disables the PF scrubbing option which can sometimes interfere with NFS and PPTP traffic.</strong>
+ <br/>
+ Click <a href='http://www.openbsd.org/faq/pf/scrub.html' target='_new'>here</a> for more information.
+ </td>
+ </tr>
+ <tr>
<td width="22%" valign="top" class="vncell">Firewall Maximum States</td>
<td width="78%" class="vtable">
<input name="maximumstates" type="text" id="maximumstates" value="<?php echo $pconfig['maximumstates']; ?>" onclick="enable_change(false)" />
OpenPOWER on IntegriCloud