I wanted to install, configure and test intrusion detection system (IDS) intrusion prevention system (IPS) Suricata on 22.04
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Heya, @setupmybusiness
You can also check our tutorial on how to install Suricata on Ubuntu 22.04, the process will be fairly the same:
https://www.digitalocean.com/community/tutorials/how-to-install-suricata-on-ubuntu-20-04
Regards
Heya,
Step 1: Update Your System
Ensure your system is up-to-date:
tep 2: Install Suricata
Step 3: Configure Suricata
/etc/suricata/suricata.yaml
. Open it for editing:Configure network interfaces (e.g.,
eth0
):After downloading, restart Suricata to apply rules:
Step 4: Set Suricata in IDS Mode (Monitor Traffic)
Suricata can run in IDS mode by default, capturing traffic without blocking it. To enable IDS:
tcpdump
oraf-packet
for traffic mirroring, depending on your configuration.Start Suricata with:
Step 5: Enable IPS Mode (Block Traffic)
To enable IPS mode:
suricata.yaml
: Enable theNFQUEUE
section: