Repository navigation
CrowdSec Exploratory Notes
Status: exploratory plan; not yet integrated into this stack. Nothing in the installer, dashboards or Logstash pipeline consumes CrowdSec data yet. Treat this as a design note.
CrowdSec can aggregate repeated hostile behavior and produce ban decisions with TTL, reducing noisy one-off firewall events.
- Install CrowdSec package/plugin in pfSense.
- Configure log acquisition from firewall/auth logs.
- Enable remediation component (bouncer) and log processor.
- Use short ban TTL first (for example 1h) and review false positives.
- Keep an emergency disable toggle documented.
Reference: CrowdSec pfSense install doc
fetch https://raw.githubusercontent.com/crowdsecurity/pfSense-pkg-crowdsec/refs/heads/main/install-crowdsec.sh
sh install-crowdsec.shWarning: this
fetch | shstyle install adds a third-party package repository and installs outside pfSense's own package manager. Packages installed this way are not recorded inconfig.xml, so they are not restored from a configuration backup and are likely to be removed or broken by a pfSense upgrade — expect to re-run the installer afterwards. Read the script before running it. If CrowdSec ever appears in the official pfSense package list, prefer that route.
After install:
- Go to
Services/CrowdSec - Enable:
- Remediation Component
- Log Processor
- Local API (recommended if hardware supports it)
- Save
Notes:
- Do not manually start services outside pfSense service controls unless troubleshooting.
- If using RAM disk for
/var, disable Local API or ensure persistent storage for CrowdSec DB under/var/db.
- Forward CrowdSec alerts/decisions to central SIEM (
siem-docker-stack). - Add metadata fields required by Wazuh decoder/rules.
- Expose decision metrics to Grafana.
- Decisions appear in CrowdSec local API.
- pfSense alias updates reflect active decisions.
- Wazuh receives parsed CrowdSec events.
- Grafana panel shows scenario and decision trends.
# Show active decisions with context
cscli decisions list -a
# Verify blocked tables
pfctl -T show -t crowdsec_blacklists
pfctl -T show -t crowdsec6_blacklists
# Controlled end-to-end test ban (from a non-critical source IP)
cscli decisions add -t ban -d 2m -i <YOUR_TEST_IP>Expected result for test ban:
- Test client loses firewall access during the 2-minute window
- Decision appears in CrowdSec status page and CLI
- Event is visible in SIEM ingestion path
- Disable bouncer enforcement only (keep detect mode if desired).
- Revert alias update automation.
- Keep SIEM ingestion active for tuning.
Emergency rollback steps:
- Disable remediation component in
Services/CrowdSec. - Confirm block tables drain/stop updating.
- Keep log processor enabled to continue collecting decision telemetry.
Source: docs/pfsense/crowdsec-phase1.md. This wiki is generated from the repository on every push to main; edit the source file and open a pull request rather than editing the wiki page.
This wiki is generated from the Markdown files in pfsense-siem-stack on every push to main. Edits made here are overwritten; edit the source file named at the bottom of each page and open a pull request. Placeholders used throughout: admin@<PFSENSE_IP> is your pfSense SSH login, <SIEM_IP> your SIEM server, interface names like igc0 are examples. Licensed MPL 2.0.
Getting started
Suricata
pfBlockerNG
Telegraf
pfSense platform
- Upgrading pfSense ⭐
- Filterlog Stops After Rotation
- Traffic Shaping Guide
- Shaping Optimization Notes
- October 2026 Tuning Results
- CrowdSec (exploratory)
SIEM: deploy
- Quick Start
- New User Checklist
- SIEM Server Installation
- Forwarder Installation
- GeoIP Setup
- Dashboard Installation
SIEM: operate
- Management Console
- Forwarder Operations and Watchdog
- Multi-Interface and Retention
- Scripts Reference
SIEM: fix