mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Pass static-port option
This commit is contained in:
parent
f5350b1e43
commit
e338d310d5
@ -491,9 +491,17 @@ function filter_nat_rules_generate() {
|
||||
$natif = $wanif;
|
||||
else
|
||||
$natif = $config['interfaces'][$obent['interface']]['if'];
|
||||
|
||||
$natrules .= filter_nat_rules_generate_if($natif, $src, $obent['sourceport'], $dst, $obent['dstport'], $obent['target'], $obent['natport'],
|
||||
isset($obent['nonat']));
|
||||
|
||||
$natrules .= filter_nat_rules_generate_if($natif,
|
||||
$src,
|
||||
$obent['sourceport'],
|
||||
$dst,
|
||||
$obent['dstport'],
|
||||
$obent['target'],
|
||||
$obent['natport'],
|
||||
isset($obent['nonat']),
|
||||
isset($obent['staticnatport'])
|
||||
);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user