Security

The provider's security settings in the admin panel, from the firewall and brute force protection to the security advisor, ScalGuard, DKIM, MTA-STS and certificates.

This page covers the security settings you manage in the admin panel. For how ScalPanel isolates websites, protects secrets and verifies its own updates, read Security architecture. Staff access, two-factor and passkeys are in Users and permissions.

Firewall

Security → Firewall filters which addresses may connect, like CSF on a cPanel server. ScalPanel applies the rules in front of every service it publishes: websites (ports 80 and 443, including HTTP/3), FTP and remote database access on the node, and the panels, webmail, mail, DNS and the SSH gateway on the host. Other ports on the host, such as its own SSH, are not touched.

Note: The rules for the panels, mail, DNS and the SSH gateway are applied on the host by the hostfw service, a few seconds after the node's. ScalPanel 0.1.34 and older filtered only the node's ports.

To add a rule:

  1. Choose Block or Always allow.
  2. Enter an IPv4 or IPv6 address or network.
  3. Optionally list up to 20 TCP or UDP ports. Without ports, the rule covers every port.
  4. Choose how long it lasts, from an hour to 30 days, or until you remove it, and add a note.

Allow rules win over block rules. You can have up to 5,000 rules. Expired rules disappear within 10 seconds.

To protect you from mistakes, ScalPanel refuses a block that covers the address you are using, and a block wider than /8 (IPv4) or /16 (IPv6).

The page also sets a connection limit: how many web connections (ports 80 and 443) one address may hold at once. 0 turns it off; otherwise 10 to 100,000.

Country blocking

The Countries card on the Firewall page blocks whole countries, on every port or only on the ports you list. Country data comes from the five regional internet registries, refreshed weekly. It tells which country a network is registered in, so a VPN or a network used abroad can pass.

  • You cannot block the country of your own address.
  • Always-allowed addresses still pass.
  • Country blocks cover the same node services as the rules above.

Customers can block countries for one website only, on the hosting panel's IP blocker & hotlinks page. That does not affect other websites or mail.

Brute force protection

Security → Brute force protection stops password guessing against mailboxes (IMAP, POP3, SMTP sign-in) and FTP, like cPHulk.

SettingRangeDefault
Enabledon or offon
Failed logins3–10010
Within1–1,440 minutes15
Block for1–43,200 minutes60
  • Clients are counted by network: an IPv4 address or an IPv6 /64.
  • A blocked network is refused on every mail server and FTP server, even with the right password.
  • Blocks appear on the page with Unblock.
  • Your allow list is never blocked, and your deny list is always refused, even with protection switched off.
  • Mailboxes are never locked by themselves, so nobody can lock a customer out by guessing wrong.

Panel sign-ins have their own lockout, set under Settings → Tweak settings. SSH accepts keys only. Webmail has its own sign-in limits.

Customers manage these per website in the hosting panel. The node's edge enforces them before the request reaches the website, so a blocked visitor costs the website nothing, and an application rewriting .htaccess cannot remove them. A website can block up to 500 addresses or networks.

Security advisor

System health → Security advisor lists what weakens your server, worst first, each with a Fix link:

CheckNot OK when
Two-factor for adminsa provider user signs in without two-factor
Admins' emaila provider user has no confirmed address
Brute force protectionit is switched off
Admin access by networkit is off (advice only)
FTP encryptionan FTP server allows plain FTP
The panel's certificatemissing, or expiring within 14 days
Other service certificatesa mail, webmail or reseller host name lacks a current certificate
Recent backupsan active account has no website backup from the last 7 days
Backup repository checksthe latest check of a repository failed
Nodes reachablea node has not reported in for 3 minutes
ScalPanel versiona newer release is available
Websites in their own user namespacesa node runs websites without them (no idmapped mounts)
AppArmor profile of websitesa node has AppArmor but the profile did not load (warning), or has no AppArmor, as on AlmaLinux and Rocky Linux (info)
Off-site backupsno off-site destination is enabled
Mail server addresses on blocklistsa mail server address is on a DNS blocklist
PHP versions with security supporta website runs a PHP version past its end of support (warning) or within three months of it (info)

Web application firewall

ScalPanel does not include ModSecurity or another web application firewall on the server.

Customers who put a domain behind Cloudflare can use Cloudflare's firewall from the hosting panel's Firewall (WAF) page: switch "I'm Under Attack" on and off, and add, edit and delete custom rules (block, challenge or skip). Their Cloudflare plan limits how many rules they can have. See Web server management.

ScalGuard

ScalPanel does not include a malware or virus scanner. ScalGuard, SCB Network's separate security product, does that work. The admin panel integrates with it under Security → ScalGuard:

  • Install on this server installs ScalGuard's control plane and agent on your server, after verifying ScalGuard's signed release. Update to the latest release updates it. Uninstalling keeps its data unless you ask to delete it.
  • Or connect an existing ScalGuard by entering its address and an API token. The token is stored encrypted and never shown again.

The panel then shows ScalGuard's findings. It only reads them; quarantine and other actions stay in ScalGuard's own console.

WhoSees
ProviderAll findings, including findings about the server
A reseller, when you give it ScalGuardIts accounts' websites
An account, when its package includes ScalGuardIts own websites

ScalGuard is off for resellers and accounts until you turn it on. A reseller can give its accounts only what it has itself. With the feature set to editable, users can also start a scan of a website. Resellers and customers see paths relative to the website, never the server's paths.

DKIM key rotation

Each mail domain signs mail with a 2048-bit DKIM key. Customers can replace the key on their deliverability page, and you can set a schedule under Email → Mail server settings: every 3, 6 or 12 months, or only on request (the default).

A rotation publishes the new key first, switches signing at least an hour later, and withdraws the old key a week after the switch, so signing never has a gap. For zones hosted elsewhere, the panel shows the record to add, and the rotation waits until it is published.

MTA-STS

MTA-STS tells other mail servers to deliver to a domain only over verified TLS. Customers turn it on per mail domain on the deliverability page, in testing or enforce mode. ScalPanel publishes the policy at mta-sts.<domain> with its own certificate, and adds the DNS records to zones hosted on the server. For zones hosted elsewhere, the panel shows the two records to add.

Panel and service certificates

SSL/TLS → Service certificates lists the certificates of the panels, webmail and mail servers, with their state and expiry, and the SSH gateway's host key fingerprints.

  • ScalPanel issues trusted certificates for the server's host name and resellers' panel host names automatically, once each name points at the server. It renews them at two thirds of their lifetime.
  • You can install your own certificate for a panel host name. ScalPanel never renews or replaces an installed certificate. Use automatic goes back to an issued one.
  • Reissue or Renew now retries one name. A failed retry keeps the current certificate in place.

SSL/TLS → AutoSSL shows the websites' automatic certificates.