Linux World, Open Source, Security
Implementing Pfsense with Suricata
FIRST THINGS FIRST
Not all of us can have high-end firewalls such as a Palo Alto because they are not affordable for all budgets.
Therefore I will explain how to set up an opensource firewall with IDS/IPS based on Pfsense and Suricata, both wonderful projects.
For example, we can have a virtualized dedicated server with Proxmox in OVH with its powerful vrack to interconnect services on different servers or products offered by OVH being all protected by the firewall with IDS/IPS that we are going to mount, allowing us to have vlans, multiwan, .....
Depending on your environment and services we want to use we will need some resources or others, the minimum necessary is 1 CPU 500 Mhz, 1GB RAM and 4GB HD. As we are going to use Suricata I recommend 2 CPUs, 4GB RAM and 16GB HD to have high log storage and of course, 2 network cards minimum, one for WAN and one for LAN, but as I say this will depend on what you want to do, for example we have all kinds with 3 WAN and a LAN, 3 WAN and 4 LAN, ...
To start we download the ISO from their website for free.
Now everyone will install it in their environment with the appropriate procedure according to their environment, but for KVM environments do not use the Virtio drivers, select E1000 cards in the creation of the VM because the performance of FreeBSD with Virtio is especially poor, there is a solution provided by Netgate which is to Disable hardware checksum offload in System > Advanced on the Networking and reboot, but from experience depending on the load traffic will be cut in a few hours and you will have no choice but to restart the firewall. Common to any environment will be the following.
-
- Accept the Copyright
AND NOW?
We are going to install Suricata where its engine is capable of real-time intrusion detection (IDS), online intrusion prevention (IPS), network security monitoring (NSM) and offline pcap processing. Go to System/Package Manager/Available Packages and enter suricata in the search engine. Install and confirm on the next screen, this process may take a little while depending on the hardware as there are quite a few files. Once installed in the services tab you will see Suricata We will leave the configuration for another post since it gives for a post and much more its configuration, is a real opensource pass, you will check it in the following post (Already done in Configuring Suricata in Pfsense)TL.
Thanks for reading our posts.
No hay comentarios