How to Block/Unblock ASNs in Spam AutoShield using cPFence Tools?

Manage ASN Blocks (WebUI Method)

 

  1. Open Tools & UtilitiesSpam AutoShield Tools.
  2. Click Block / Unblock ASN.
  3. Enter the autonomous system number (e.g. AS204915).
  4. Choose Block ASN to reject all senders from that network or Unblock ASN to remove the restriction.

ASN blocks are perfect for large botnets or abusive providers that rotate IPs constantly.

Command Line (CLI) Method

  1. SSH into the server.
  2. Block:
    cpfence --add-spam-autoshield-asn AS204915
  3. Unblock:
    cpfence --del-spam-autoshield-asn AS204915

 


Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Using Spam AutoShield to Block Spam by IP, Email, Domain, Subject, or TLD

The Spam AutoShield module in cPFence is designed to give you full control over spam filtering...

How to bulk Activate a WordPress Theme by Slug using cPFence Tools?

Activate Theme by Slug (WebUI Method)   Open cPFence WebUI and select the target server. Go...

How to bulk Clear LiteSpeed Cache using cPFence Tools?

Purge LiteSpeed Cache (WebUI Method)   Open the cPFence WebUI and select the desired server....

How to bulk Configure the LiteSpeed Plugin using cPFence Tools?

Apply LiteSpeed Presets (WebUI Method)   Open cPFence WebUI and select the relevant server....

How to bulk Create a WordPress User using cPFence Tools?

Create WP User (WebUI Method)   Log into cPFence WebUI, pick the server, and open Tools &...