I tried to install the LAMP stack on debian which I installed on termux in my android, and I be getting error when I typed in "sudo ufw status", at first it said to upgrade kernel or update iptables version which I did, now it saying that, I don't know what I did wrong
Asked
Active
Viewed 4,148 times
1 Answers
0
It looks like there may be a problem with your iptables installation. Try running the following command to see if that fixes the issue:
sudo apt-get install --reinstall iptables
If you are still having issues, please provide more information about the error message you are receiving.

Mohamed Elgazar
- 778
- 4
- 9
-
I tried installing iptables with apt-get but I was only getting the iptables v1.8.7 and when I try to check the status it telling me some like "WARN: initcaps [Errno 2] iptables v1.8.7 (legacy): can't initialize iptables table `filter': Permission denied Perhaps iptables or your kernel needs to be upgraded." So I download the latest one iptables v1.8.8 source code since i cant get it by apt-get and compiled it, that when it changed error to this one "ERROR: problem running iptables: iptables v1.8.8 (legacy): can't initialize iptables table `filter': Permission denied" – AadamOverflow Oct 16 '22 at 15:33