Wireguard IPv6 and Dynamic Gateway Policy

Started by REB00T, December 29, 2024, 02:11:24 AM

Previous topic - Next topic
December 29, 2024, 02:11:24 AM Last Edit: December 29, 2024, 02:27:10 AM by REB00T
Having configured a wireguard interface with both an ipv4 and an ipv6 address from any provider (mullvad, proton when using some servers), the "hack" mentioned in the docs (broaden the v6 subnet and use the other ip as a gateway, mark the v4 gateway as a "far" one and use the VPN DNS address as the ip) works well.
As far as I can tell, ticking "Dynamic Gateway Policy" in the interface settings should also work for both v4 and v6 in principle. However, the gateway created when applying that setting is marked as "IPv4" and indeed produces no results when applied to an IPv6 rule. Cloning the gateway and changing the type (and nothing else) manually and applying that to the v6 rule does work but, in my opinion, shouldn't be necessary. Is there something that can be done to correct this behaviour?