Actions
Bug #10752
closed1:1 NAT issue if Internal IP has VIPs
Start date:
07/10/2020
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:
Description
If you set 'Internal IP' on the firewall_nat_1to1_edit.php to net (OPT1 net, for example)
and OPT1 interface has any VIPs on top of it,
filter_generate_address() returns all of them, creating incorrect pf ruleset:
binat on vtnet1 from { 172.16.16.0/24 192.168.4.0/24 } to 6.6.6.1 -> 192.168.122.179
then you get error:
There were error(s) loading the rules: /tmp/rules.debug:53: multiple binat ip addresses - The line in question reads [53]: binat on vtnet1 from { 172.16.16.0/24 192.168.4.0/24 } to 6.6.6.1 -> 192.168.122.179
Updated by Viktor Gurov over 4 years ago
Updated by Jim Pingle over 4 years ago
- Status changed from New to Pull Request Review
Updated by Renato Botelho over 4 years ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Renato Botelho
- Target version set to 2.5.0
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Danilo Zrenjanin over 4 years ago
- Status changed from Feedback to Resolved
Reproduced the issue. After adding the patch, filter reloaded without issues.
Actions