I have little experience with IPv6 (my ISP doesn't support it) so assumed that this query was aimed at more knowledgeable IPv6 forum members.
Anyhow, I will certainly consider any answer better than none.
I'm mostly trying to wrap my head around how dual stack is meant to work but as far as I have been able to read up on these are operating rather independent and are not really compatible with each other. so all interfaces (LAN, WAN, Wifi, guestnetworks a.s.o) will need to have both ipv4 and ipv6. seems quite a handful to set everything up. wonder how much that will happen by itself by asuswrt-merlin when "flipping the switch". could I choose to let my guest network to only operate on ipv4 for example? that's a different topic I guess.
once the switch is flipped, ipv6 will be prioritized and I might not have control anymore where my data gets routed as I'm used to having, thus it would be nice to investigate how to setup wireguard for dual stack.
my .conf file includes both ipv6 and ipv4 but I remember that a wireguard tunnel could only handle one or the other. guess you indirectly answered some questions:
- 2 tunnels is setup with the same pri/pub keys with the same interface that are operating independently. this is a nice way of handling it (for dual stack). would the wireguard suppliers accept both connections with the same keys?
so, in general you could always import ipv4 and ipv6 but only start ipv6 interface if ipv6 is enabled? that way you would not have to make a new import as you enable/disable ipv6.
what if the ipv6 setting in router is not native but some tunnel variant. that would certainly affect how wireguard should be setup (tunnel 6 to 4 would still mean WAN is running on ipv4, right?).
NOTE: It probably won't work (so feel free to pass on this).......worst case scenario is that it
borks the
IPv4 connections
I have not yet received from my ISP if I can get native ipv6 yet and even so I will probably have to wait to test until I have some family-free time to test (to relieve the audio-visual effects of internet loss).
//Zeb
EDIT: In my. conf file I also got 2 ipv6 dns but only one Endpoint, which is a domain name.
Regarding DNS, ip6tables included in my firmware is 1.4.15 and nat table were not introduced until 1.4.18 so I guess ipv6 dns would have to be solved differently.
How come there is only one Endpoint? Will this domain name resolve to both ipv4 and ipv6 adress and would both be accessable to system (AFAIK ipv6 will be prioritized and forwarded if exists). Is there a risk that the ipv4 Endpoint won't get resolved?
Edit2: just attempted to create new custom chain in the nat table:
Code:
admin@RT-AC86U-D7D8:/tmp/home/root# ip6tables -t nat -N WGDNS1
ip6tables v1.4.15: can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
Hmm... crap... policy based routing just got abit more complex...