I struggled with getting IPV6 working on the Flint when connected to Mullvad VPN.
This evening by sheer luck, I ran into a topic that pointed me here
opkg update
opkg install kmod-ipt-nat6
cat << EOF > /etc/firewall.nat6
iptables-save --table=“nat”
| sed -e “/\s[DS]NAT\s/d”
| ip6tables-restore --table=“nat”
EOF
uci -q delete firewall.nat6
uci set firewall.nat6=“include”
uci set firewall.nat6.path=“/etc/firewall.nat6”
uci set firewall.nat6.reload=“1”
uci commit firewall
service firewall restart
By running the script posted there while connected to the VPN, IPV4 & IPV6 now both work. This will work with any VPN that supports IPV6.
The downside is, you need to run this script every time you connect to the VPN. On reconnecting the rules get overwritten by the GL-plugins.
Just thought I’d post this here, in case anyone needs it. Might also be useful to add such a script when IPV6 is enabled on the router by default @alzhao . That way we won’t have to re-run the script on every connection. (see solution).
It appears I was wrong. After rebooting with the new firewall rules, they stayed. Even when connecting to another server.
You only need to run the script once, and then reboot your modem.
I figured restarting the firewall was enough, but it looks like a full reboot is required😄