1
24.7 Production Series / Re: Can't ping ipv6 WAN externally
« on: September 15, 2024, 12:19:46 am »
Second screenshot because they both wouldn't fit on one post
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Ah okay, then your ISP leaves the WAN interface unnumbered. Not a very common configuration, but not unheard of.
As a workaround, try switching 'Translation / target' in your NAT rule to 'LAN address'. 'Interface' needs to remain 'WAN'.
The WAN interface is the issue. As you can see, it doesn't have an IPv6 address. So the NAT rule has no address which it could use as a translation target.
Did you by any chance enable "Request only an IPv6 prefix" in the WAN interface settings?
@Dmonroe, no worries, life is always more important!
fda6:4040:2c9a:d657::/64 actually is a valid IPv6 address, although a special one. The lowest address in an IPv6 subnet is the subnet router anycast address. I wouldn't use that here either, so as @Greelan suggested, better use fda6:4040:2c9a:d657::1/64 or something like this.
No idea whether this is the root cause of the NAT issue. If it isn't, you might want to try manually entering the source network for the outbound NAT rule. Also, does your WAN interface have a GUA?
Cheers
Maurice
In general, IPv6 outbound NAT works with DHCPv6 WANs. Quite a few people use this. If the behaviour mentioned in the 2019 thread actually was a bug, it probably has been fixed at some point. There was a bug in 22.7, but that has been fixed in 22.7_4: https://github.com/opnsense/changelog/blob/master/community/22.7/22.7#L142
Your issue might be specific to WireGuard or your config. Can you post your wg tunnel address and allowed IPs?
Cheers
Maurice
https://github.com/opnsense/plugins/issues/2094
Can you check against this please?