summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-11-15 14:12:17 +0000
committerErmal <eri@pfsense.org>2012-11-15 14:12:17 +0000
commit44bf5c01bd0e82aa64655f929b6b9d941a317cb2 (patch)
treed48c04edf6172dc1ab041cb7cdb2dae3daf6e173 /etc
parenteff0526e60ae5ab53730d5c469819c3e81f8498d (diff)
downloadpfsense-44bf5c01bd0e82aa64655f929b6b9d941a317cb2.zip
pfsense-44bf5c01bd0e82aa64655f929b6b9d941a317cb2.tar.gz
Tune the binat a bit so it does not affect all traffic on enc but just for the configured ph2
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 01f6ec2..d74f318 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1451,7 +1451,7 @@ function filter_nat_rules_generate() {
continue;
if (!is_subnet($natlocal_subnet) && !is_ipaddr($natlocal_subnet))
continue;
- $natrules .= "binat on enc0 from {$local_subnet} to any -> {$natlocal_subnet}\n";
+ $natrules .= "binat on enc0 from {$local_subnet} to {$natlocal_subnet} -> {$natlocal_subnet}\n";
}
}
}
OpenPOWER on IntegriCloud