/
(v1) Configure the Firewall

(v1) 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)

    firewall-cmd --zone=public --add-service=https --permanent
  5. Allow smtp (25)

    firewall-cmd --zone=public --add-service=smtp --permanent
  6. Optionally allow MySQL

    firewall-cmd --zone=public --add-port=3306/tcp --permanent
  7. Reload the firewall configuration

    firewall-cmd --reload

Related content

Configure the Firewall
Configure the Firewall
More like this
Configure the Firewall
Configure the Firewall
More like this
(2024.1) Configure the Firewall
(2024.1) Configure the Firewall
More like this
MySQL 8 Secure Login
MySQL 8 Secure Login
More like this
(v1) MySQL 8 Secure Login
(v1) MySQL 8 Secure Login
More like this

Help Desk Portal - Email: help@pcr.com - Phone: 616.259.9242