How to Safety Management In aaPanel

Safety Management In aaPanel

Web-based aaPanel Management’s “Security ” sidebar menu will be the topic of this post. Before getting started, read this article about Uploading your Website with aaPanel.

5 Steps to Safety Management In aaPanel

1. SSH Settings


  • Allow/block your ssh port connection
  • Change your ssh port
  • Check your ssh service risk
  • Set up a certificate to connect to ssh
  • Monitor ROOT login and send a login reminder

2. Prevent using ping to Server

Forbid public IP to ping our server IP

3. Release Ports

You need to put in the port that needs to be released, as well as its name, to get the port out of your computer.

After the port has been released, you can look at the firewall list to see how the port is working, and the port status.

  1. Centos6 uses iptables.
  2. Centos7 uses a firewall.
  3. Debian / ubuntu uses ufw.

State Description: Not Listening

  • There is currently no service program listening on this port!
  • The service program using this port is not started!
  • This port is obsolete. If it is determined that the port is obsolete, you can delete it directly!


  1. The service is listening normally

More functions can be implemented in the system firewall plug-in

4. Block IP

Block IP addresses to prevent malicious attacks or unauthorized access to a given IP address. After successfully blocking an IP address, you may check the firewall list to determine the current state of IP blocking.

Block IP segment rules:

  • IP segment: Representation:
  • IP segment: representation method:
  • IP segment: Representation:

More functions can be implemented in the system firewall plug-in

5. Panel operation log

Specifically, log the current panel action, such as adding a site to the panel, adding a database, and the panel login record, etc., which may be used to determine whether someone signed in and operated maliciously. By clicking the Panel log button, you may view the panel’s error log.