K3s deployment on AlmaLinux8

I am trying to run k3s cluster on AlmaLinux8. running almalinux by enabling WSL2 on windows.
When trying to start k3s server getting below error
panic: F0117 14:21:19.468905 1369 network_policy_controller.go:290] Failed to verify rule exists in INPUT chain due to running [/usr/sbin/iptables -t filter -C INPUT -m comment --comment kube-router netpol - 4IA2OSFRMVNDXBVV -j KUBE-ROUTER-INPUT --wait]: exit status 2: iptables v1.8.4 (nf_tables): Couldn’t load match `comment’:No such file or directory
iptable version: iptables v1.8.4 (nf_tables)
Can somebody suggest how to revert to iptables-legacy . any help is highly appreciated.

Match ‘comment’ is available to ‘xtables-nft-multi’. Is it perhaps the WLS2 environment or packages that you have in it?

$ ll /usr/sbin/iptables
lrwxrwxrwx. 1 root root 17 Oct  8 23:07 /usr/sbin/iptables -> xtables-nft-multi

$ sudo iptables -L FORWARD
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

$ sudo iptables -A FORWARD -m comment --comment "test" -j ACCEPT

$ sudo iptables -S FORWARD
-P FORWARD ACCEPT
-A FORWARD -m comment --comment test -j ACCEPT

$ rpm -qa \*iptabl\*
iptables-1.8.4-20.el8.x86_64
iptables-libs-1.8.4-20.el8.x86_64
iptables-ebtables-1.8.4-20.el8.x86_64
$ rpm -qa \*nft\*
nftables-0.9.3-21.el8.x86_64
python3-nftables-0.9.3-21.el8.x86_64
libnftnl-1.1.5-4.el8.x86_64

[root@YY213399 /]# ll /usr/sbin/iptables
lrwxrwxrwx 1 root root 17 Oct 9 01:37 /usr/sbin/iptables → xtables-nft-multi

[root@YY213399 /]# sudo iptables -L FORWARD
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Warning: iptables-legacy tables present, use iptables-legacy to see them

[root@YY213399 /]# sudo iptables -A FORWARD -m comment --comment “test” -j ACCEPT
iptables v1.8.4 (nf_tables): Couldn’t load match `comment’:No such file or directory

On WLS2 i have just registered the almalinux image nothing more.

[root@YY213399 /]# rpm -qa *iptabl*
iptables-libs-1.8.4-20.el8.x86_64
iptables-1.8.4-20.el8.x86_64
iptables-services-1.8.4-20.el8.x86_64

[root@YY213399 /]# rpm -qa *nft*
libnftnl-1.1.5-4.el8.x86_64
[root@YY213399 /]#

Searching with that, I found this possible explanation: networking - Warning: iptables-legacy tables present - Ask Ubuntu

Do you get something with lsmod | grep iptab ?
Do you get is also “right after boot”, before you have done any k3s?

I dont get anything with lsmod | grep iptab
yes even without doing anything about k3s after installing iptables when i ran --comment gt the error

this is what gt added to /usr/sbin folder on installing iptables
image

When used to run K3s cluster on ubuntu I used to execute below command and k3s used to run without any issue
sudo update-alternatives --set iptables /usr/sbin/iptables-legacy

but there is no alternative present in /var/lib/alternative

any suggestion on how can i downgrade to iptables-legacy for almalinux