Bug 252105

Summary: interface modifier wan0:0 insteads pick link local address
Product: Base System Reporter: Stéphane D'Alu <sdalu>
Component: kernAssignee: freebsd-pf (Nobody) <pf>
Status: New ---    
Severity: Affects Only Me CC: cy
Priority: ---    
Version: 12.2-RELEASE   
Hardware: Any   
OS: Any   

Description Stéphane D'Alu 2020-12-24 12:11:34 UTC
When trying to perform nat on ipv6, I tried the rule:
nat pass on wan0 inet6 from net0:network to any -> wan0:0

But wan0:0 is picking the link-local address

# pfctl -s nat
nat pass on wan0 inet6 from dcb:e130:f4cb:2d97::/64 to any -> fe80::428d:5cff:feb1:a4fd

I've found issue #201695 related to this problem and marked as fixed, 
but it doesn't seem to be the case anymore
Comment 1 Kristof Provost freebsd_committer freebsd_triage 2020-12-24 16:08:38 UTC
I can't reproduce this. Please attach your dmesg, pf.conf and output of ifconfig.

It'd be surprising for this to have regressed as well, because there's a test for the feature.
Comment 2 Stéphane D'Alu 2020-12-24 17:51:38 UTC
(In reply to Kristof Provost from comment #1)

I prefer to avoid having my full configuration on public display
I'm sending you this by email.