From 58fac6951c14b9fef3f4ed6b0bf6a884ffedf2fc Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 18 Nov 2013 16:42:29 -0200 Subject: [PATCH] Add subnet to 0.0.0.0 otherwise it's not added to table, ticket #2416 --- etc/inc/filter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 4aff6e2fc1..d3abf12da4 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 "; + $tonathosts .= "127.0.0.0/8 0.0.0.0/0 "; if($numberofnathosts > 4) { $natrules .= "table { {$tonathosts} }\n"; $macroortable = "";