diff options
-rw-r--r-- | etc/inc/filter.inc | 2 | ||||
-rw-r--r-- | usr/local/www/system_advanced_misc.php | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 9ba50be..063efd6 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -393,7 +393,7 @@ function filter_generate_scrubing() { $scrubrules = ""; if (isset($config['system']['maxmss_enable'])) { - $maxmss = 1420; + $maxmss = 1400; if (!empty($config['system']['maxmss'])) $maxmss = $config['system']['maxmss']; diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php index 3019780..1bd5cbf 100644 --- a/usr/local/www/system_advanced_misc.php +++ b/usr/local/www/system_advanced_misc.php @@ -254,12 +254,12 @@ function maxmss_checked(obj) { <td width="22%" valign="top" class="vncell"><?=gettext("Maximum MSS"); ?></td> <td width="78%" class="vtable"> <input name="maxmss_enable" type="checkbox" id="maxmss_enable" value="yes" <?php if ($pconfig['maxmss_enable'] == true) echo "checked"; ?> onClick="maxmss_checked(this)" /> - <strong><?=gettext("Enable enforcing maximum mss on traffic through the IPSec VPN"); ?></strong> + <strong><?=gettext("Enable MSS clamping on VPN traffic"); ?></strong> <br /> - <input name="maxmss" id="maxmss" value="<?php if ($pconfig['maxmss'] <> "") echo $pconfig['maxmss']; else "1420"; ?>" class="formfld unknown" <?php if ($pconfig['maxmss_enable'] == false) echo "disabled"; ?>> + <input name="maxmss" id="maxmss" value="<?php if ($pconfig['maxmss'] <> "") echo $pconfig['maxmss']; else "1400"; ?>" class="formfld unknown" <?php if ($pconfig['maxmss_enable'] == false) echo "disabled"; ?>> <br /> - <?=gettext("Enforce the maximus segment size on TCP flows over IPSec. " . - "This helps overcome problems with PMTUD on IPSec VPN links."); ?> + <?=gettext("Enable MSS clamping on TCP flows over VPN. " . + "This helps overcome problems with PMTUD on IPsec VPN links. If left blank, the default value is 1400 bytes. "); ?> </td> </tr> <tr> |