Warning: Extension MASQUERADE revision 0 not supported, missing kernel module?
iptables v1.8.9 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
I tried to add it via modprobe, but also an error:
[root@fedora ~]# modprobe iptable_nat
sh: line 1: /sbin/modprobe: No such file or directory
modprobe: ERROR: libkmod/libkmod-module.c:1047 command_do() Error running install command '/sbin/modprobe --ignore-install nf_conntrack && /sbin/sysctl --quiet --pattern 'net[.]netfilter[.]nf_conntrack.*' --system' for module nf_conntrack: retcode 127
modprobe: ERROR: could not insert 'iptable_nat': Invalid argument
Maybe someone who has encountered this can help?
Asahi Fedora Version:
Linux fedora 6.4.11-401.asahi.fc38.aarch64+16k #1 SMP PREEMPT_DYNAMIC Mon Aug 21 19:38:10 UTC 2023 aarch64 GNU/Linux
That sounds like something was fundamentally very broken with the filesystem layout back then. You can try sudo ln -nsf usr/sbin /sbin and see if that fixes it, but if you encounter any similar weird issues after that I would recommend reinstalling. It could even make your system unbootable if some packages ended up installing through sbin and some through bin, and I don’t think there’s any easy way to fix that.