Vigyata.AI
Is this your channel?

PFSense Suricata Intrusion Detection and Prevention, Installation Guide

35.9K views· 1,017 likes· 33:10· May 25, 2023

Today we're going to talk about intrusion detection and intrusion prevention systems, commonly referred to as IDS/IPS. We'll be doing so under pfSense using Suricata. We will walk through the entire installation and configuration process and talk about some things you'll need to consider when setting up your own Suricata. Chapters: 00:00 Introduction to IDS/IPS 01:18 Preparing to Install 02:16 Install Suricata Package 02:39 Global Config & Rules 05:08 Adding an Interface 08:00 Rule Set Configuration 11:27 Starting Suricata 12:06 Inter-VLAN Overhead 13:24 Reviewing & Testing Alerts 16:05 Using SID Management 20:08 Enabling Blocking/Dropping 20:40 Inline vs Legacy Modes 25:30 VLAN Hardware Offloading 27:37 Inline Alerts & Drops 31:50 Thoughts & Conclusions Contact Info: Business email is lithiumsolardiy@gmail.com. I am not available for personal project questions or consultation. Disclaimers and Statements: ► I receive a small commission on purchases made using my affiliated links shared the video description and comments section. The views and opinions expressed here are my own, unbiased, and not influenced by this commission in any way.

About This Video

In this pfSense video I walk through what IDS/IPS actually is, why it still matters even though so much traffic is encrypted now, and how I set it up using Suricata. I go step-by-step through installing the Suricata package, grabbing rule sets (ET Open / Emerging Threats is the big one in my opinion), and configuring global settings like update intervals and live rule swap. Live rule swap is a must for me, because I don’t want daily rule updates hard-restarting an interface and interrupting a home network that has servers running 24/7. From there I add Suricata to an interface and explain the decision-making: I strongly prefer running it on the LAN side instead of WAN, because scanning tons of inbound junk that the firewall would block anyway is just wasted CPU. I also show how rule categories impact CPU and false positives, why I start in monitoring-only mode, and how I use SID Management to disable noisy rules (my example is the “.to” DNS alert that trips on Amazon affiliate short links). Finally, I enable blocking with inline mode, explain inline vs legacy, and troubleshoot the classic VLAN offload issue that can drop connectivity—then fix it by disabling VLAN hardware offloading and making it persistent with a startup command.

Frequently Asked Questions

🎬 More from Home SysAdmin