iptables +front-end “guarddog”:

  • service iptables status
    • sudo iptables -L – shows active iptables rules
    • dpkg -l | grep iptables – check installed packages

ufw (Ubuntu-firewall) + gui “gufw”:

  • service ufw status
    • sudo ufw status – checks if ubuntu-firewall is running
    • sudo ufw disable / enable
    • basic usage:
      • sudo ufw allow ssh
      • sudo ufw allow 4444/tcp
Tags: ,