Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: VPS Setup

Configure Firewalld—a dynamic firewall—on an AlmaLinux VPS—install with
dnf install firewalld -y
start with
systemctl start firewalld
and enable with
systemctl enable firewalld
Open HTTP with
firewall-cmd --add-service=http --permanent
SSH with
firewall-cmd --add-service=ssh --permanent
and reload with
firewall-cmd --reload
Check with
firewall-cmd --list-all
—expect \"http ssh\" On Linode add MySQL (firewall-cmd --add-port=3306/tcp) for phpMyAdmin—test with
curl http://ip
Ensures uptime—log blocks with
journalctl -u firewalld
offering CentOS-like security without UFW

Back to All Tips