summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-11-28 08:55:27 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-11-28 08:55:27 -0200
commit4c91880c59a1f19e5459b863c4222e07e364484b (patch)
treefe11a1b8c2be0ce90a3e261da77d9c450d77f125
parent48f1333bfd64b078016135ae089906d4e03deb0e (diff)
downloadpfsense-4c91880c59a1f19e5459b863c4222e07e364484b.zip
pfsense-4c91880c59a1f19e5459b863c4222e07e364484b.tar.gz
Fix 0.0.0.0 mask for automatic outbound NAT
-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 0507cfc..10d9d7d 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1679,7 +1679,7 @@ function filter_nat_rules_generate() {
$numberofnathosts++;
}
$natrules .= "\n# Subnets to NAT \n";
- $tonathosts .= "127.0.0.0/8 0.0.0.0/0 ";
+ $tonathosts .= "127.0.0.0/8 0.0.0.0/32 ";
if($numberofnathosts > 4) {
$natrules .= "table <tonatsubnets> { {$tonathosts} }\n";
$macroortable = "<tonatsubnets>";
OpenPOWER on IntegriCloud