IPTables comes pre-installed in most Linux distributions. However, if you don’t have it in Ubuntu/Debian system by default, follow the steps below:

  1. Connect to your server via SSH.
  2. Execute the following command one by one:
    apt update
    apt install iptables

You will now have the Linux firewall installed.

Was this answer helpful? 0 Users Found This Useful (0 Votes)