summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-06-19 20:23:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-06-19 20:23:22 +0000
commit10f4ac6c245391ffd769112563ea867a74db061c (patch)
tree918da0a654ae0dd6e9a22185358c2cb138b6848c /etc
parent9d55100123dc01220ad105c6f886192b3d70876a (diff)
downloadpfsense-10f4ac6c245391ffd769112563ea867a74db061c.zip
pfsense-10f4ac6c245391ffd769112563ea867a74db061c.tar.gz
Default to nat-reflection inactivity of 2000 which is roughtly 33 minutes.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index f33be4a..4591c7d 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1199,7 +1199,7 @@ function filter_nat_rules_generate() {
if($config['system']['reflectiontimeout'])
$reflectiontimeout = $config['system']['reflectiontimeout'];
else
- $reflectiontimeout = "20";
+ $reflectiontimeout = "2000";
foreach($toadd_array as $tda){
fwrite($inetd_fd, "{$starting_localhost_port}\tstream\ttcp/udp\tnowait/0\tnobody\t/usr/bin/nc nc -u -w {$reflectiontimeout} {$target} {$tda}\n");
if($ifname_real)
OpenPOWER on IntegriCloud