In this tutorial im going to solve this error ERROR: Couldn’t determine iptables version.
Error : –
ERROR: Couldn't determine iptables version
Solution:-
dpkg -l | grep iptables

If the iptables command is not installed, you can install it using the below command:
sudo apt install iptables

[…] ERROR: Couldn’t determine iptables version […]