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 the firewall on an OpenSUSE VPS with YaST—install with
zypper install yast2-firewall
then run
yast2 firewall
in CLI Open SSH (port 22) by selecting \"ssh\" under Allowed Services and HTTP (port 80) for web hosting—save with \"Accept\" Alternatively use firewalld—install with
zypper install firewalld
then
firewall-cmd --add-service=ssh --permanent && firewall-cmd --reload
Check with
firewall-cmd --list-all
—expect \"ssh\" listed On Hetzner this secures MySQL (add firewall-cmd --add-port=3306/tcp) and FTP maintaining uptime—verify logs at /var/log/firewalld for blocked attempts ensuring robust protection

Back to All Tips