Repository navigation
LAN and East West Monitoring
East-west traffic is lateral movement inside your network: between VLANs, between hosts on the same subnet, or from an internal host toward internal servers. WAN-only IDS/IPS never sees it. Monitoring internal interfaces with Suricata catches:
- Compromised hosts spreading malware
- Insider threats
- Lateral movement after an initial breach
- Internal reconnaissance and scanning
This guide covers how to add Suricata IDS instances on internal VLANs, which rules to run there, and how to use the per-interface dashboard. It applies to any pfSense box; only the forwarder and Grafana sections depend on this repository's SIEM stack.
Cost first: every monitored interface is a separate Suricata process with its own copy of the rule set. On the reference deployment (8-core Intel Atom C3758, 16 GB) 13 VLAN instances in IDS mode roughly double the steady-state CPU compared with the two WAN instances alone. Monitor the segments where the visibility is worth that — usually IoT and guest first, trusted last. SURICATA_OPTIMIZATION_GUIDE.md has the sizing background.
Everything below uses this example topology. Substitute your own interface names, VLAN IDs and subnets throughout.
| Interface | Role | Subnet | Suricata mode |
|---|---|---|---|
igc0 |
WAN | (public) | Inline IPS |
igc1.10 |
Trusted VLAN (workstations) | 10.10.10.0/24 |
IDS |
igc1.20 |
IoT VLAN (TVs, cameras, smart devices) | 10.10.20.0/24 |
IDS |
igc1.30 |
Guest VLAN | 10.10.30.0/24 |
IDS |
Internet → igc0 (WAN) [Inline IPS] → pfSense → igc1.10 Trusted [IDS]
→ igc1.20 IoT [IDS]
→ igc1.30 Guest [IDS]
↓
detect 10.10.x.x → 10.10.y.y
Key principle: inline IPS on WAN (block), IDS on internal VLANs (alert only, never break internal traffic).
Services → Suricata → Interfaces → Add, once per VLAN:
| Setting | Value | Reason |
|---|---|---|
| Interface |
igc1.20 (your VLAN) |
Interface to monitor |
| Description | IoT_IDS |
Clear naming; this becomes the instance name in logs |
| Enable | ✓ | |
| IPS Mode | Legacy or Inline, but do not enable blocking | Alert only on internal segments |
| Promiscuous Mode | Off unless needed | Needed only when Suricata must see traffic not addressed to the firewall's own MAC — some VLAN/bridge setups or a mirror-port feed. On a routed VLAN interface the firewall already sees all inter-VLAN traffic |
| HOME_NET |
10.10.0.0/16 (your internal ranges) |
Defines "inside" for the rules |
| EXTERNAL_NET | !$HOME_NET |
Everything else |
Note that on a routed VLAN Suricata only sees traffic that crosses the firewall — VLAN-to-VLAN, VLAN-to-WAN. Host-to-host traffic within the same VLAN stays on the switch and is invisible unless you feed a mirror port to a dedicated interface.
Services → Suricata → {Interface} → Categories
Enable these for internal monitoring:
| Ruleset | Purpose | Priority |
|---|---|---|
| emerging-malware | C2 beaconing from internal hosts | High |
| emerging-exploit | Exploit attempts (lateral movement) | High |
| emerging-scan | Internal port scanning | High |
| emerging-compromised | Known compromised host signatures | High |
| emerging-worm | Worm propagation (WannaCry, NotPetya, ...) | High |
| emerging-policy | Policy violations (torrents, unauthorized protocols) | Medium |
Disable or tune:
-
emerging-info(too noisy on internal networks) -
emerging-dns(unless you want to see internal DNS queries) - Anything you already disabled globally — see config/sid/README.md
Custom rule example (SMB brute force between internal hosts):
alert tcp $HOME_NET any -> $HOME_NET 445 (msg:"LOCAL SMB connection burst to internal host"; flow:to_server; threshold:type threshold, track by_src, count 10, seconds 60; sid:9000001; rev:2;)
Paste custom rules into Services → Suricata → {Interface} → Rules → Category: custom.rules. They are stored in config.xml and survive rule updates; files dropped into the instance directory are not.
IoT VLAN (igc1.20) — high suspicion:
- IDS mode; malware, exploit, scan, worm rules all on
- Firewall rules block IoT → Trusted at the pf level; Suricata alerts on any attempt that gets through or is even tried
- Expect the most alerts here; smart TVs and cameras are noisy
Trusted VLAN (igc1.10) — balanced:
- IDS mode; malware, exploit, compromised rules
- Allow normal business traffic (SMB, RDP within the VLAN)
- Alert on cross-VLAN access attempts toward IoT or servers
Guest VLAN (igc1.30) — light:
- IDS mode; exploit and compromised rules only
- Guests are isolated by firewall rules anyway; Suricata is here to spot an infected guest device scanning
(SIEM stack)
Dashboard: dashboards/Suricata_Per_Interface.json
Dynamic per-interface monitoring: pick one, several or all interfaces, and the dashboard repeats a full row of panels for each.
- Events & alerts counter — totals with colour thresholds and a sparkline
-
Top alert signatures — pie chart of
alert.signature - Alerts timeline — time series
-
Top source IPs — internal hosts generating the most alerts (
src_ip) -
Top destination IPs — most-targeted internal hosts (
dest_ip) - Alert log table — time, category, signature, action, severity, protocol, IPs, ports, countries
-
Import: Grafana → Dashboards → Import → upload
dashboards/Suricata_Per_Interface.json -
Select interfaces: the
interfacevariable is populated from thein_ifacefield; pickigc1.10,igc1.20, ... or All - Adjust thresholds: WAN interfaces want higher thresholds (500/2000 alerts) than VLANs (50/200)
-
IoT only: select
igc1.20— spot a compromised device -
Compare VLANs: select
igc1.10,igc1.20,igc1.30side by side - Full view: All
Each selected interface gets its own complete monitoring section
Scenario: a smart TV on the IoT VLAN is compromised and scans the Trusted VLAN.
Detection: the igc1.20 instance sees ET SCAN Potential Port Scan-class alerts from 10.10.20.45 toward 10.10.10.0/24.
Response: isolate the device, investigate.
Scenario: an attacker on a Trusted-VLAN workstation pivots toward a file server.
Detection: ET EXPLOIT ... SMB Remote Code Execution from 10.10.10.55 to 10.10.10.200.
Response: quarantine the workstation, check the server.
Scenario: malware beacons to an attacker-controlled internal pivot.
Detection: periodic connections from 10.10.10.75 to 10.10.10.200 on an odd high port; ET MALWARE alerts if the beacon matches a signature.
Response: investigate both hosts.
(SIEM stack)
The forwarder discovers every Suricata instance automatically, including the VLAN ones — no configuration change is needed when you add an interface:
/var/log/suricata/suricata_igc0<id>/eve.json # WAN
/var/log/suricata/suricata_igc1.10<id>/eve.json # Trusted VLAN
/var/log/suricata/suricata_igc1.20<id>/eve.json # IoT VLAN
/var/log/suricata/suricata_igc1.30<id>/eve.json # Guest VLAN
(<id> is a numeric suffix the pfSense package assigns per instance.)
Verify:
ssh admin@<PFSENSE_IP> "ps aux | grep '[f]orward-suricata-eve.py' | awk '{print \$2}' | xargs -I{} lsof -p {} 2>/dev/null | grep eve.json"You should see one eve.json per interface.
All fields are flat root-level EVE fields (in_iface, src_ip, dest_ip, event_type, alert.*) — nothing is nested under a suricata.eve.* prefix.
WAN only
in_iface:igc0
All VLANs
in_iface:igc1.*
Lateral movement (internal → internal alerts)
event_type:alert AND src_ip:"10.0.0.0/8" AND dest_ip:"10.0.0.0/8"
src_ip and dest_ip are mapped as ip, so CIDR notation works directly in Lucene queries.
Internal traffic volume is usually much higher than WAN traffic, and every VLAN instance is a full Suricata process.
- IDS, never inline blocking, on internal interfaces — inline adds latency and a false positive breaks something internal
- Selective categories — malware, exploit, scan, worm; skip INFO/DNS/policy noise
- Raise scan thresholds — internal networks are chatty; 50 connections/min instead of 10
- Pass lists — Services → Suricata → Pass Lists for trusted server-to-server flows (backups, replication)
-
Watch CPU —
ssh admin@<PFSENSE_IP> "top -P"; each instance should sit well under 50% outside rule reloads. If not, drop categories or drop instances
- Exploit attempts between VLANs
- C2 beaconing from internal hosts
- Brute force on RDP/SSH toward servers
- Worm propagation signatures
Query: event_type:alert AND alert.severity:1 AND src_ip:"10.0.0.0/8"
Threshold: count > 5 in 5 minutes
Notify: chat webhook + email
- Port scans within a VLAN
- Policy violations
- Unusual internal DNS
Query: alert.signature:*SCAN* AND src_ip:"10.0.0.0/8"
Threshold: count > 20 in 1 hour
Notify: daily email summary
INFO-level and generic policy alerts — dashboard review only, no notifications.
From a workstation on the Trusted VLAN:
nmap -sS 10.10.20.0/24Expected: ET SCAN-class alerts on the igc1.20 instance with src_ip = your workstation.
On an isolated test VLAN with a deliberately vulnerable VM:
msfconsole
use exploit/windows/smb/ms17_010_eternalblue
set RHOST 10.10.30.50
exploitExpected: ET EXPLOIT ... MS17-010 alerts.
while true; do curl -s http://10.10.10.200:8080/beacon; sleep 60; doneExpected: the periodic connection is visible in the per-interface dashboard; a C2 alert only if the pattern matches a signature.
- Segment with VLANs (Trusted, IoT, Guest, Servers) before you monitor — monitoring a flat network tells you little
- IDS on the VLANs that matter, not automatically on all of them
- Tune per VLAN — heavy on untrusted segments, light on trusted ones
- Use the per-interface dashboard to compare segments
- Alert only on high-priority signatures to avoid alert fatigue
- Review weekly and push noisy SIDs into your disable list
- Test detection on isolated segments
- SURICATA_OPTIMIZATION_GUIDE.md — full install and tuning guide
- SURICATA_CONFIGURATION.md — interface strategy and design decisions
- config/sid/README.md — disabling noisy rules
- PFBLOCKERNG_OPTIMIZATION.md — reputation blocking upstream of Suricata
- DASHBOARD_NO_DATA_FIX.md — when panels are empty
Next steps:
- Add Suricata IDS instances on the VLANs you care about most
- Import
Suricata_Per_Interface.json - Run the scan test and confirm the alert reaches the dashboard
- Tune thresholds and disable noisy SIDs per VLAN
Source: docs/pfsense/LAN_MONITORING.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