Project

General

Profile

Actions

Bug #7745

closed

1:1 NAT is somehow broken for IPv6 (corner case??)

Added by Adam Thompson almost 7 years ago. Updated over 6 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/01/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

Steps to reproduce:
1. configure (e.g.) WAN interface as 2607:5300:79:501:167:114:147:49/56. Configure default gateway. IPv6 from firewall works.
2. add fw rule allowing inbound traffic to fd60:7f9c:65d8:1::2. IPv6 from firewall still works.
3. add 1:1 NAT entry specifying WAN, from 2607:5300:79:501:167:114:147:50 to network fd60:7f9c:65d8:1::2/128 (because of bug #7442). IPv6 suddenly breaks from firewall because of NDP adjacency loss.
4. disable NAT entry. IPv6 from firewall is STILL broken.
5. delete NAT entry. IPv6 from firewall is STILL broken.
6. Reboot firewall. IPv6 works from firewall again. (NDP adjacency works again.)

I have no idea what's going on here. The rules in /tmp/rules.debug look fine. The output from pfctl -s all looks fine. I can't see how/why IPv6 is still broken after disabling and deleting the 1:1 NAT entry!
(I can't even tell why it breaks upon creation of the 1:1 NAT entry, the pf rule /tmp/rules.debug looks 100% correct as long as I specify "Network" and a /128 masklen.)

Remote access can be provided for debugging purposes if needed.

Actions

Also available in: Atom PDF