Home WebServer PanelCyberPanel How to install and use CSF on CyberPanel

How to install and use CSF on CyberPanel

by Thạch Phạm
Published: Last Updated on

In this article, AZDIGI will guide you on how to install and use CSF on CyberPanel, we first need to find out what CSF is.

What is CSF?

CSF stands for “Config Server Firewall”, which is a Stateful Packet Inspection (SPI) firewall, security application and login and intrusion detection for Linux servers. Released for free to increase server security (VPS and Dedicated). CSF works based on iptables and ldf process to scan log files for signs of unusual attacks.

Functions of CSF

  • Anti-DdoS of all kinds
  • Anti Scan Port
  • Prevent BruteForce Attacks on FTP server, web server, mail server, DirectAdmin, cPanel…
  • Anti Syn Flood
  • Anti Ping Flood
  • Allow blocking access from 1 country by specifying ISO standard Country Code
  • Support IPv6 and IPv4
  • Allows temporary and permanent IP locking at the network layer
  • Allows redirecting requests from blocked IPs to an html file to notify users that their IP is blocked…

How to install CSF

First, you access the Cyber Panel administration interface by following the link: https://IP:8090. For example,

After successfully logging in with admin user rights, you can access => SECURITY => CSF

1 1
2 2

Next, click INSTALL NOW to proceed with the installation

3 2

The installation of CSF will take a few minutes, if successful, you will receive a message as shown below:


You press f5 to reload the page and the CSF interface will appear as follows:

  • Remove CSF
  • Firewall (this feature may or may not be enabled)
  • Testing Mode
  • TCP IN Ports
  • TCP Out Ports
  • UDP In Ports
  • UDP Out Ports
4 3

In the GENERAL tab, to add any port, you add a “,” and proceed to enter the new port to add (1), then click Save(2)

To delete a port, you select the port you need to delete => click Save (2)

As shown below, I have opened port 2222

5 3

In the CSF tab, to allow or block any IP access, enter IP (1) => Save (2)

  • Allow
  • Block
6 2

So in this article, AZDIGI has shown you how to install and use the basic features of CSF for security on CyberPanel.

Wishing you success!

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign