I see in the log last entry is:2023-05-14T16:50:30+01:00 myopnsensename.local opnsense 47013 - [meta sequenceId="4"] /usr/local/etc/rc.routing_configure: ROUTING: refusing to set inet6 gateway on addressless wanMight be worth knowing, my ISP doesn't offer DHCPv6 or PPPoEv6, so I've always had it set to a static IPv6 within my allocated /64 which has always worked correctly before and still does when I roll back.
Let's look at this differently... I'm assuming the bad change is https://github.com/opnsense/core/commit/a8e9862b410073 and it may work again if it's reverted?# opsense-patch a8e9862b410073The commit does two things: it adds IP address family specific reload functionality, but it should not matter for when e.g. rc.configure_routing is called which is what WireGuard is doing.The other thing is it tries to verify that the gateway selected for default gateway use does have a matching interface with at least one address in it (the equivalent of calling ifconfig to see if that has an address). The latter one is easy to try... I do think that at least one address must be present anyway, but perhaps if it's a tunnel device the address might not show up correctly?Looking forward to verification that the patch is the issue...Cheers,Franco
There are two patches to help with diagnose..https://github.com/opnsense/core/commit/8beb293c5https://github.com/opnsense/core/commit/48855143bThis is on a clean 23.1.7, opnsense-revert used to make sure:# opnsense-revert opnsense && opnsense-patch 48855143b 8beb293c5# /usr/local/etc/rc.routing_configure# opnsense-log | grep refusingIn the last log line there is a hint of the interface and device being used, e.g.:> ROUTING: refusing to set inet gateway on addressless wan(igb1)For the device is parenthesis run:# pluginctl -D igb1Depending on this output the log line is generated and the route refused. If data is there we might be looking at a timing issue, if not then it's something more fundamental.Cheers,Franco