WireGuard IPv6 and starlink

Started by fgsfdgfds, February 15, 2023, 04:47:55 PM

Previous topic - Next topic
Hi Guys,
My starlink gateway WAN IPv6 address generally doesn't change.
However occasionally the /56 delegation seems to get moved.

So I changed my LAN, to Tracked interface and set it to {whatever they give me}::0/64
Then the WireGuard IP endpoint for OPNsense I set to ::50:0:0:0:1/64
However, things seems to work weird, it connects using IPv6, but routing over IPv6 doesn't seem to work as expected (from what I can tell)
Does the wireguard interface endpoint not work as a tracked interface on ipv6 ?
If I set the full IPv6 addresses (as they are now) to everything (phone and OPN WG), all seems good.

QuoteThen the WireGuard IP endpoint for OPNsense I set to ::50:0:0:0:1/64
You can't do that it needs a whole ipv6 address or FQDN.
I believe the only places opnsense will accept ipv6 suffix and append dynamic prefix are under DHCPv6 settings and Firewall's dynamic host alias.
Mayber you can set up a FQDN and use Dynamic DNS to update the AAAA record and use that.

Thanks for your reply.
I expected as much, there is a few places where the dynamic ipv6 alias could be used a bit more to help with these sorts of issues.
i had considered some sort of DDNS setup.
Regards

Maybe I am misunderstanding what you are trying to achieve, but use ULAs for the tunnel instead?

Thanks, not thought of that, I'll def try on that when I get a few minutes.
Good idea,
Cheers