![]() |
|
Guide CloudPanel Backups and Security: Remote Backups, Firewall and Basic Auth - Printable Version +- AdminsForum (https://adminsforum.com) +-- Forum: Free & open-source control panels (https://adminsforum.com/Forum-free-open-source-control-panels) +--- Forum: CloudPanel (https://adminsforum.com/Forum-cloudpanel) +---- Forum: CloudPanel Guides & Tutorials (https://adminsforum.com/Forum-cloudpanel-guides-tutorials) +----- Forum: CloudPanel Security Guides (https://adminsforum.com/Forum-cloudpanel-security-guides) +----- Thread: Guide CloudPanel Backups and Security: Remote Backups, Firewall and Basic Auth (/Thread-guide-cloudpanel-backups-and-security-remote-backups-firewall-and-basic-auth) |
CloudPanel Backups and Security: Remote Backups, Firewall and Basic Auth - JAY - 10-14-2026 CloudPanel backups and security: remote backups, firewall and Basic Auth The steps that protect a CloudPanel server: off-server backups, locking down the panel, per-site blocking, and keeping everything updated. Tested on CloudPanel 2.5.4, Ubuntu 24.04. Part 1: Remote backups A backup on the same server isn't a backup if the server dies. Go to Admin Area → Backups and choose a Storage Provider: Amazon S3, Wasabi, DigitalOcean Spaces, Dropbox, Google Drive, Hetzner Storage Box, SFTP or a custom Rclone config. Turn on Enable Remote Backup and set the Frequency and Time. Pick a quiet hour, such as 02:00. Enter the bucket and region, an access key and secret key, the storage directory, the retention period (days to keep) and any excludes such as cache folders, then save. (The keys in our screenshot are CloudPanel's example values, not real keys.) Create a key that can only access this one bucket. Part 2: The firewall In Admin Area → Security → Firewall, CloudPanel by default allows SSH (22), HTTP (80), HTTPS (443) and the panel (8443) from anywhere. Best single step: allow port 8443 only from your own IP. Click Add Rule, type CloudPanel, source Custom, your IP with /32, and save. Add your rule first, then delete the rules that allow 8443 from anywhere, so you don't lock yourself out. Do the same for SSH if you have a fixed IP. Part 3: Basic Auth in front of the panel If your IP changes often, use Basic Auth instead (Admin Area → Security → Basic Auth). It puts a second username and password in front of CloudPanel's login page, which stops bots from even reaching it. As root you can also toggle it with: Code: clpctl cloudpanel:enable:basic-auth --userName=john --password='a-strong-password'
clpctl cloudpanel:disable:basic-authPart 4: Site-level security Each site has its own Security tab:
Part 5: Keep everything updated Code: apt update && apt -y upgrade
# take a snapshot of the server at your provider first
clp-update
reboot # when a new kernel was installedSecurity checklist
Questions? Ask in CloudPanel Security Support. CloudPanel guide series
|