/
(2024.1) Configure the Firewall

(2024.1) Configure the Firewall

  1. Enable and start firewalld

    systemctl enable firewalld systemctl start firewalld



  2. Allow SSH (22)

    firewall-cmd --zone=public --add-service=ssh --permanent



  3. Allow http (80)

    firewall-cmd --zone=public --add-service=http --permanent



  4. Allow https (443)



  5. Allow smtp (25)



  6. Optionally allow MySQL



  7. Reload the firewall configuration



Related content

(v1) Configure the Firewall
(v1) Configure the Firewall
More like this
Configure the Firewall
Configure the Firewall
More like this
Configure the Firewall
Configure the Firewall
More like this
(v1) Email Account Parameters
(v1) Email Account Parameters
More like this
MySQL 8 Secure Login
MySQL 8 Secure Login
More like this