Ubuntu: Setting up UFW Firewall

Ubuntu uses UFW (Uncomplicated Firewall).

  1. Allow SSH first: ufw allow ssh (or allow 22/tcp).
  2. Allow Web ports: ufw allow 80/tcp and ufw allow 443/tcp.
  3. Enable: ufw enable.
  4. Check Status: ufw status.
  • 0 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

מאמרים קשורים

Ubuntu: First Login & Updates

Welcome to Ubuntu!After logging in as root, your first task is to update the system repositories...

Ubuntu: Installing Fail2Ban

Protect SSH from brute force attacks.apt install fail2ban -yStart the service:systemctl start...

Ubuntu: Securing SSH (Root & Keys)

1. Disable Root LoginEdit config: nano /etc/ssh/sshd_configFind PermitRootLogin and set to no.2....