How to Whitelist an IP to Prevent Future Blocking from IPDB
When an IP address is blocked by cPGuard's IPDB (IP Database), you have the option to prevent future blocking by adding it to the ignore list. cPGuard allows you to ignore a specific IP address or an entire country in the firewall, which will stop blocking that resource in both IPDB and the firewall.
This is the recommended approach for handling trusted IP addresses, especially for IPDB, rather than whitelisting the IP directly.
Method 1: Using the cPGuard Portal
- Log in to the cPGuard App Portal
- Navigate to Protection >> Firewall >> Ignore IPs
- Click the input box and enter the IP address you want to ignore
- Provide a reason or comment for the exception
- Click Add to save the changes

The IP address will now be added to the ignore list and will no longer be blocked by IPDB or the firewall.
Method 2: Using the CLI
You can also add an IP address to the ignore list using the cPGuard CLI with the following command:
cpgcli ip --ignore <IP> --reason 'comment'
Replace the following placeholders:
<IP>— The IP address you want to add to the ignore list'comment'— A brief reason or description for ignoring this IP (e.g.,'Trusted office IP')
Example:
cpgcli ip --ignore 192.168.1.100 --reason 'Trusted office IP'
Once executed, the specified IP address will be added to the ignore list and will no longer be blocked by cPGuard's IPDB or firewall rules.