I'm trying to setup wireguard for IPv6. IPv4 is working flawlessly.
As I'm new to IPv6 I have difficulties in understanding what IP's are expected to use.
So I have increased the 2xxx:xxxx:xxxx:xxx1::1 to 2xxx:xxxx:xxxx:xxx3::1 for wireguard interface. LAN is getting (automatically 2xxx:xxxx:xxxx:xxx1::1) and Guest Wifi is getting (automatically 2xxx:xxxx:xxxx:xxx2::1) already.
For allowed_ips I appended just a random /64 after prefix 2xx:xxxx:xxxx:xxx3:xxxx:xxxx:xxxx:xxxx/128.
At the moment I'm stuck in getting a connection because I'm confused with the IP's to use.
What is the Endpoint for my client? ISP RouterIP, OpenWrt Router IP or wg0 IP? I would have thought wg0 IP cause its public? Is the Client IP which I filled up randomly /128 in allowed_ips right?
Ah, O. K. i tried the ISP public IP first and then the WG public IP.
So I could use any private fdxx::/8 address within this tunnel? I was thinking that I need a public cause others never leave the lan. So I have mixed it up.
Yes this is clear now. No IPv6 "public routing rules" within the tunnel.
I was not aware of the fact that if I want to connect from outside to my OpenWrt LAN I have to choose the public IPv6 address from OpenWrt Box. Not like on IPv4 where ISP Box public IPv4 is Endpoint.