Security Management

12007

Function Overview

Security management is used to protect the security of the system and enhance its defensive capabilities. At the host level, the Jianghu panel provides server security management features. You can manage server security in the "Security" interface on the left side of the panel, where you can enable/disable the firewall, set the SSH switch, disable PING, allow ports, block IPs, and more.

1. Firewall Settings

Enable Firewall

Click the "Enable Firewall" switch to turn the firewall on or off.

aq.png

Enable Disable PING

Click the "Enable Disable PING" switch to turn the PING command on or off. The main function of disabling the PING command is to prevent users from frequently PINGing the server, which can lead to performance degradation.

an1.png

SSH Management

Records SSH login information to set SSH remote login rules, further protecting system security.

  • Start SSH: By default, it is enabled. You can turn SSH login on or off; if SSH login is turned off, remote login to the system will not be possible.
  • Disable Password Login: By default, it is enabled and can be turned off. If turned off, password login must be used.

aq3.png

Change SSH Port

The default is 22, and you can modify the default port. Before changing, check if the port to be modified is occupied and whether it is open.

aq4.png

Note: To further enhance server security, we usually change the SSH remote management service port from 22 to 10022.

Add Allowed Port

In the security management page of the Jianghu panel, you can view the already opened ports and also add allowed ports. Enter the port to be allowed, select the protocol (default is TCP), add a remark (required), and click "Allow."

aq2.png

Note: The following common ports are usually opened on the server:

  • Port 80: Used for HTTP protocol
  • Port 443: Used for HTTPS protocol
  • Port 22: Used for SSH remote management service
  • Port 3306 or 33067: Used for MySQL database connections
  • Port 10744: Used for logging into the Jianghu panel

Delete Allowed Port

Click "Delete" to remove the allowed port.

aq6.png

Block IP Range

If you do not want to delete a port, the Jianghu panel supports blocking IP ranges. Select "Block" from the dropdown, enter the IP to be blocked (e.g., 192.168.0.0/24), add a remark (required), and click "Block."

aq5.png

2. Panel Operation Logs

View Panel Operation Logs

The panel logs record the current operations on the panel, such as adding sites, adding databases, and panel login records, which can be used to check if there have been any malicious logins and operations.

aq7.png

Clear Panel Operation Logs

You can also clear the logs; this operation should be done with caution.

aq8.png

View Log Directory

If you want to view detailed logs, you can click "Log Directory."

aq9.png

After navigating to the directory folder, you will see all the log files.

aq10.png

Select the log you want to view, click "Edit," and you will see the log details.

aq11.png

It is important to note that you should not click the "Clear" button next to "Log Directory" lightly, as this will clear all logs in the directory.

aq12.png