How to fix ERROR: Couldn’t determine iptables version

Fix for:

  • Raspberry Pi
  • Debian
  • ARMv7

To fix ERROR: Couldn’t determine iptables version, go to your terminal and enter this command:

update-alternatives --list iptables

You may get this result:

   /usr/sbin/iptables-legacy
   /usr/sbin/iptables-nft

Now type this command to fix the problem:

sudo update-alternatives --set iptables /usr/sbin/iptables-legacy

That’s it.

Leave a Comment

Your email address will not be published.