Firewall integrations

Connect Q-Feeds to pfSense

Use pfBlockerNG on pfSense to pull Q-Feeds malware IP and domain lists so the firewall and Unbound DNSBL can block known-bad traffic.

Create your API key in the portal first. See Get your threat feeds. Do not schedule updates more often than every 20 minutes. License intervals: Community daily, Plus every 4 hours, Premium hourly (as configured in pfBlockerNG).

Available feeds for pfSense

  • Malware domains: https://api.qfeeds.com/api?feed_type=malware_domains&api_token=YOUR_TOKEN&limit=…
  • Malware IPs: https://api.qfeeds.com/api?feed_type=malware_ip&api_token=YOUR_TOKEN&limit=…

Test with:

curl -v -u api_token:YOUR_TOKEN "https://api.qfeeds.com/api?feed_type=malware_domains&limit=1000"

Install and open pfBlockerNG

  1. Go to System > Package Manager > Available Packages.
  2. Find pfBlockerNG and select Install.
  3. Open Firewall > pfBlockerNG. On first launch a wizard appears. You can exit it (“here”) for this guide, or complete the wizard for other feeds.

Configure the IPv4 blocklist

  1. Go to IP > IPv4 and select the green Add button.
  2. Enter a name and description for the collection.
  3. Under IPv4 source definitions, set State to ON.
  4. In Source, paste:
    https://api.qfeeds.com/api?feed_type=malware_ip&api_token=YOUR_TOKEN
    Replace YOUR_TOKEN with your API key.
  5. Set Action to Deny Both.
  6. Set Update Frequency to match your license (Community = daily, Plus = 4 hours, Premium = 1 hour).
  7. Select Save IPv4 Settings.

Configure domain (DNSBL) blocking

  1. Open the DNSBL tab (same pattern as the IP list).
  2. Set State to ON.
  3. Use source URL:
    https://api.qfeeds.com/api?feed_type=malware_domains&api_token=YOUR_TOKEN
  4. Set Action to Unbound.
  5. Select Save DNSBL Settings.

Fetch the latest intelligence

  1. Open the Update tab.
  2. Select Reload and run it to force a download of the latest Q-Feeds data.
  3. Do not force an update while cron is already running or about to run.

Download the PDF manual

Evaluate our intelligence today!

Simplify your security operations, start your free Q-Feeds trial and experience the difference.

Activate free access