I managed to setup nat6 with mullvad wireguard client. I’m using firmware 4.2.0 beta2.
Just enable ipv6, then start mullvad, and it works!!!
This is my test result on a flint LAN client device.
I checked the ipv6 route table and found that there are some extra default routes added by upstream gateway.
I think lowing the wgclient route item metric will do the trick.
Uploaded modified script that changes wgclient route metric to 511, you can upload it, and restart wg client to have a check.
The script is located at: wgclient-route-update.zip (1.3 KB)
For AzireVPN I know it provides an IPv6-PD range, which you can setup as VPN6 interface (@alias of VPN-interface with static IPv6-PD range as IP-setting). Change the LAN to receive/track IPv6 range from the VPN6 interface.
Then I believe you also need IPv6 mwan3 policies setup and then you should have everything working. I do not know if Mullvad does supply 1 IPv6 or a /64?
Finally, I found that mwan3 impacts wg client & ipv6.
More effort is needed to construct a suitable rule for this situation. To temporarily make it work, use changed wgclient-route-update.sh and disable mwan3, your previous script should not be run.
/etc/init.d/mwan3 disable
uci set mwan3.globals.enabled='0'
uci commit mwan3
reboot
On the GL.iNet interface it does now show “ The interface is connected, but the Internet can’t be accessed with IPv4 protocol.”, but there are no connectivity issues, internet is fully accessible on IPV6.