{"id":15061,"date":"2022-12-02T13:58:11","date_gmt":"2022-12-02T10:58:11","guid":{"rendered":"https:\/\/kifarunix.com\/?p=15061"},"modified":"2024-03-09T23:31:51","modified_gmt":"2024-03-09T20:31:51","slug":"install-wazuh-agent-on-pfsense","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-wazuh-agent-on-pfsense\/","title":{"rendered":"Install Wazuh Agent on pfSense"},"content":{"rendered":"\n

In this guide, you will learn how to install Wazuh agent on pfSense. pfSense<\/a> is the world’s most trusted opensource firewall which also doubles up as an opensource router. On the other hand, Wazuh<\/a><\/em> is a free, open source and enterprise-ready security monitoring solution for threat detection, integrity monitoring, incident response and compliance. Wazuh agents are used to collect log and event data from the remote end points that are being monitored and ship to the Wazuh server which then analyzes the event data and triggers alerts when threats or anomalies are detected<\/em>.<\/p>\n\n\n\n

Installing Wazuh Agent on pfSense<\/h2>\n\n\n\n

Ensure that you have Wazuh manager up and running before you can proceed.<\/p>\n\n\n\n

We have covered installation and setup of Wazuh manager server on various systems in our previous guides.<\/p>\n\n\n\n

Install and Configure Wazuh Manager on Ubuntu 22.04<\/a><\/p>\n\n\n\n

Install Wazuh Server on Rocky Linux 8<\/a><\/p>\n\n\n\n

Install and Setup Wazuh Server in CentOS 8\/Fedora 32<\/a><\/p>\n\n\n\n

Once the server is up and running, you can proceed to install the agent on pfSense.<\/p>\n\n\n\n

Well, it is good to note that pfSense software is based on FreeBSD OS.<\/p>\n\n\n\n

In my demo environment, we are running pfSense 2.6.0;<\/p>\n\n\n\n

You can confirm from the command line;<\/p>\n\n\n\n

cat \/etc\/version<\/code><\/pre>\n\n\n\n

Sample output;<\/p>\n\n\n\n

2.6.0-RELEASE<\/code><\/pre>\n\n\n\n

Or from the pfSense dashboard;<\/p>\n\n\n\n

\"Install<\/figure><\/a><\/div>\n\n\n\n

As you can see, we have pfSense 2.6.0 based on FreeBSD 12.3.<\/p>\n\n\n\n

Enable the use of FreeBSD Official Repositories on pfSense<\/h3>\n\n\n\n

Wazuh packages are not available on the official pfSense repositories. Thus the only way we can install Wazuh agent is via the use of official FreeBSD repos.<\/p>\n\n\n\n

\n

NOTE<\/strong>: Installing software\/packages from FreeBSD repositories on pfSense can easily brick your system. This method is neither supported nor recommended by Netgate. Thus, if you have decided to proceed in this manner, then take utmost caution. We cannot be held responsible for whatever happens to your system.<\/p>\n<\/blockquote>\n\n\n\n

To enable the use of FreeBSD repositories on pfSense;<\/p>\n\n\n\n