Security Management
12007Function 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.
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.
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.
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.
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."
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.
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."
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.
Clear Panel Operation Logs
You can also clear the logs; this operation should be done with caution.
View Log Directory
If you want to view detailed logs, you can click "Log Directory."
After navigating to the directory folder, you will see all the log files.
Select the log you want to view, click "Edit," and you will see the log details.
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.
