You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux version 5.10.16.3-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Fri Apr 2 22:23:49 UTC 2021
Distro Version
Ubuntu 20.04
Other Software
wireguard-dkms/focal-updates,now 1.0.20201112-1~20.04.1 all [installed,automatic]
wireguard-tools/focal-updates,now 1.0.20200513-1~20.04.2 amd64 [installed,automatic]
wireguard/focal-updates,now 1.0.20200513-1~20.04.2 all [installed]
Repro Steps
As explained here and here, the conntrack features don't work because the kernel config options aren't set:
sudo iptables -C INPUT -m connmark --mark 0x10/0x10 -j DROP
iptables v1.8.4 (legacy): Couldn't load match `connmark':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
Expected Behavior
connmark and wireguard work as they'd in a normal ubuntu vm.
Actual Behavior
connmark doesn't work, wireguard can't set up iptables and fails:
We are also aware of this weird kube-proxy IPVS issue (we are using k0s more specifically but it should apply universally to other Kubernetes distro as well) where we believe conntrack (and the missing of some key kernel extensions) is related:
[root@WIZPRESSO-07 ~]# sudo iptables -t raw -A PREROUTING -p tcp -m multiport --dport 80,81,82 -j NOTRACK
Warning: Extension CT revision 0 not supported, missing kernel module?
Notice: The NOTRACK target is converted into CT target in rule listing and saving.
iptables v1.8.9 (nf_tables): RULE_APPEND failed (No such file or directory): rule in chain PREROUTING
This is one of the reason why iptables mode for kube-proxy failed for k8s on WSL2 out of the box
Windows Build Number
Microsoft Windows [Version 10.0.19042.1165]
WSL Version
Kernel Version
Linux version 5.10.16.3-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Fri Apr 2 22:23:49 UTC 2021
Distro Version
Ubuntu 20.04
Other Software
wireguard-dkms/focal-updates,now 1.0.20201112-1~20.04.1 all [installed,automatic]
wireguard-tools/focal-updates,now 1.0.20200513-1~20.04.2 amd64 [installed,automatic]
wireguard/focal-updates,now 1.0.20200513-1~20.04.2 all [installed]
Repro Steps
As explained here and here, the conntrack features don't work because the kernel config options aren't set:
Expected Behavior
connmark and wireguard work as they'd in a normal ubuntu vm.
Actual Behavior
connmark doesn't work, wireguard can't set up iptables and fails:
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: