On official openwrt wiki, wireguard server it gives an ipv6 ip with fd... Blah blah ip. But afaik that IP is local ULA Ip, doesnt work on real internet. So, should I just use one of /56 prefixes that my ISP delegated to me, to make ipv6 work just right?
Ok I did just that, but what about if ISP changes prefix? Can't we automatically assign somehow?
Ok if I use that, won't ipv6 behave like ipv4? Isn't what you say similiar to NAT in ipv4? Afaik ipv6 isn't supposed to be behind a NAT. And would I get an ipv6 on WAN?
Yes, although NPT is slightly different but related
Why not?
The fact that it is usually not needed does not mean you cannot use NAT/NPT.
You are free to use anything you want, I linked the guide how to setup a no hassle IPv4 and IPv6 implementation but if you want to use something different please do
I've done what is said in the PDF, up until to the advanced section. But now wan6 can't get prefix. Might be the ISP though the ipv6 they give is experimental at best.
I did that exactly same. But, my wireguard clients do get an ipv6, but exact same ip as wan6's IP, which is /64 prefix. Isn't that wrong that /64 is huge block, taken to a one device.
WireGuard should have nothing to do with a Prefix delegated to wan6. ifstatus wan6 will show you if you have a PD delegated.
The WireGuard clients have their own ULA address but for the outside world they have the IPv6 address of the router your WireGuard server is running on as that is where the traffic enters the internet, just as the IPv4 address
Just last question. My mobile ISP on the phone doesnt have ipv6. So I connect through ipv4, does that make me have ipv6 when connecting to wg? I mean like real outside ipv6, not local.
Yes absolutely, my own phone provider (vodafone) only has IPv4 and when connected from my phone on cellular ipleak.net shows both the IPv4 and IPv6 address of my home WG server and test-ipv6.com shows 10/10
Of course you have to setup correctly as outlined in my notes and your home router which runs the WG server has to have a working IPv4 and IPv6 connection