Bug 252105 - interface modifier wan0:0 insteads pick link local address
Summary: interface modifier wan0:0 insteads pick link local address
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.2-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pf (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-24 12:11 UTC by Stéphane D'Alu
Modified: 2020-12-24 17:51 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.