I have all the newest software. Downloaded the official image yesterday.
apt-get upgrade
apt-get update
rpi-update
.....
rebooted, of course
Does not help.
root@raspberrypi:/home/pi# iptables --version iptables v1.8.2 (nf_tables)
I tried this: root@raspberrypi:/home/pi# iptables -L
Got this:
iptables: Operation not supported.
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables v1.8.2 (nf_tables): Chain 'MASQUERADE' does not exist
Try `iptables -h' or 'iptables --help' for more information.
I need masquerade to work how do I fix this.
This part of a raspberry pi 4 wifi ap setup.
I also get similar errors with nft.
Ended up with some file corruption, and the whole thing wouldn't boot.
Had to reflash the SD card.
Did another rpi-update
Everything was fine this time.
It is not possible to trouble shoot this further.
The question needs to be closed. I can't delete it.