How to use cPFence IPDB / DDoS Module ?

cPFence provides robust tools for managing IP databases (IPDB) and protecting against DDoS attacks. This guide will help you use these features effectively.

IPDB Commands

Enable IPDB

  • This command activates the cPFence IPDB service, applying country settings and necessary configurations.
cpfence --enable-ipdb

Disable IPDB

  • This command deactivates the cPFence IPDB service, stopping any active IPDB features.
cpfence --disable-ipdb

Restart IPDB

  • This command restarts the cPFence IPDB service, refreshing all IPDB/DDos settings and configurations.
cpfence --restart-ipdb

DDoS Protection Commands

Enable DDoS Protection

  • This command activates DDoS protection with a default limit of 100 connections. You can adjust the limit as needed.
cpfence --enable-DDos

Disable DDoS Protection

  • This command deactivates DDoS protection, setting the connection limit to a huge number "5000" value.
cpfence --disable-DDos

Additional Information

  • To adjust DDoS protection settings, edit the CONNECTIONS_LIMIT value in /opt/cpfence/config.conf file.
  • Restart the cPFence IPDB service after making changes to apply the new settings.

This guide provides the basic commands for managing IPDB and DDoS protection in cPFence.

  • enable ipdb, disable ipdb, enable ddos, disable ddos, restart ipdb
  • 0 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

How to Whitelist / Blacklist a Full Country ?

This guide explains how to whitelist or blacklist entire countries in cPFence. You can manage...

How to Whitelist / Blacklist an IP ?

This guide explains how to manage IP addresses by adding them to the whitelist or blacklist in...

How to Fix Bulk IP Blacklisting or Whitelisting Issues in cPFence?

If you're facing issues when attempting to bulk blacklist or whitelist IPs in cPFence, the most...

Am I Under a DDoS Attack? I See Hundreds of GET Requests in the Logs

If you're noticing hundreds of GET requests in your logs, it's important to understand that this...

How to Check the Status of an IP in cPFence?

cPFence allows you to quickly check the current state of an IP address to see if it has been...