Ufw

From ElectroDragon
Jump to: navigation, search
  • sudo apt-get install ufw
  • sudo nano /etc/default/ufw
  • sudo ufw default deny incoming
  • sudo ufw default allow outgoing

ssh

  • sudo ufw allow ssh
  • sudo ufw allow 22

enable

  • sudo ufw enable