Prompt text to copy
How to Use the Prompt Variables
[List of Malicious IPs or CIDR Ranges]: Provide a comma- or newline-separated list of suspicious IP addresses or CIDR blocks you want to block. These are usually sourced from threat intelligence feeds or logs.
[Firewall Platform]: Specify the firewall system you use, such as iptables, pf, firewalld, or cloud-based security groups like AWS Security Groups. This ensures generated rules are syntactically correct.
[Rule Action]: Define the desired action on matched IPs, typically block or drop. Use drop to silently discard packets or block to reject them explicitly.
Usage Tips
- Regularly update the IP list with fresh threat data for ongoing protection.
- Test new rules in a staging environment before production deployment to avoid accidental lockouts.
- Combine IP blocking with other security layers like rate limiting and logging for comprehensive defense.