WSL2-Linux-Kernel
WSL2-Linux-Kernel copied to clipboard
Wireguard fails with ipv6 and Ubuntu 22
After some digging around I found this issue for another kernel. It appears CONFIG_NFT_FIB_IPV6
must be set.
withinboredom@Legion:~$ zcat /proc/config.gz | grep CONFIG_NFT_FIB_IPV6
# CONFIG_NFT_FIB_IPV6 is not set
The error looks like this:
withinboredom@Legion:~$ sudo wg-quick up ~/wsl-wg.conf
[#] ip link add wsl-wg type wireguard
[#] wg setconf wsl-wg /dev/fd/63
[#] ip -6 address add PREFIX::1005/128 dev wsl-wg
[#] ip link set mtu 1340 up dev wsl-wg
[#] wg set wsl-wg fwmark 51820
[#] ip -6 route add ::/0 dev wsl-wg table 51820
[#] ip -6 rule add not fwmark 51820 table 51820
[#] ip -6 rule add table main suppress_prefixlength 0
[#] nft -f /dev/fd/63
/dev/fd/63:5:93-106: Error: Could not process rule: No such file or directory
/dev/fd/63:6:69-84: Error: Could not process rule: No such file or directory
/dev/fd/63:7:71-77: Error: Could not process rule: No such file or directory
[#] ip -6 rule delete table 51820
[#] ip -6 rule delete table main suppress_prefixlength 0
[#] ip link delete dev wsl-wg
Can you try this image and see if it works? You'll need to decompress it with gzip
first.
Can you try this image and see if it works? You'll need to decompress it with
gzip
first.
I can't start docker with it is it just me?