mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Be sure to pass the destination 1:1 mask.
This commit is contained in:
parent
1c19790adb
commit
c4e2f770e5
@ -682,7 +682,7 @@ function is_one_to_one_or_server_nat_rule($target) {
|
||||
if($onetoone['ipaddr'] == $target)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@ -717,7 +717,7 @@ function filter_nat_rules_generate() {
|
||||
else
|
||||
$natif = $config['interfaces'][$natent['interface']]['if'];
|
||||
|
||||
$natrules .= "binat on {$natif} from {$natent['internal']}/{$sn} to any -> {$natent['external']}\n";
|
||||
$natrules .= "binat on {$natif} from {$natent['internal']}/{$sn} to any -> {$natent['external']}/{$sn}\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user