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

Set up Firewalld on an AlmaLinux VPS—install with
dnf install firewalld -y
start with
systemctl start firewalld
and enable on boot via
systemctl enable firewalld
Open SSH with
firewall-cmd --add-service=ssh --permanent
HTTP with
firewall-cmd --add-service=http --permanent
and apply with
firewall-cmd --reload
Verify with
firewall-cmd --list-services
—expect \"ssh http\" Add MySQL with
firewall-cmd --add-port=3306/tcp --permanent
for phpMyAdmin On Linode this mirrors CentOS security—check logs with
journalctl -u firewalld
for blocks ensuring FTP and SSH stay accessible with minimal downtime risk

Back to All Tips