mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add subnet to 0.0.0.0 otherwise it's not added to table, ticket #2416
This commit is contained in:
parent
6b1f9a9941
commit
58fac6951c
@ -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 <tonatsubnets> { {$tonathosts} }\n";
|
||||
$macroortable = "<tonatsubnets>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user