About the Device
OPNsense is an open source, easy-to-use and easy-to-build FreeBSD based firewall and routing platform. OPNsense includes most of the features available in expensive commercial firewalls, and more in many cases. It brings the rich feature set of commercial offerings with the benefits of open and verifiable sources.
The feature set of OPNsense includes high-end features such as forward caching proxy, traffic shaping, intrusion detection and easy OpenVPN client setup.
pfSense is a firewall/router computer software distribution based on FreeBSD. The open source pfSense Community Edition (CE) is installed on a physical computer or a virtual machine to make a dedicated firewall/router for a network. It can be configured and upgraded through a web-based interface, and requires no knowledge of the underlying FreeBSD system to manage.
Device Information
Entity | Particulars |
---|---|
Vendor Name | Deciso / Rubicon Communications, LLC (Netgate) |
Product Name | OPNsense / pfSense |
Type of Device | Hosted |
Collection Method
Log Type | Ingestion label | Preferred Logging Protocol - Format | Log collection method |
---|---|---|---|
Opnsense | OPNSENSE | Syslog - CSV | CyberHub |
pfSense | OPNSENSE | Syslog - CSV | CyberHub |
Port Requirements
Source | Destination | Port |
---|---|---|
OPNsense/pfSense | CyberHub | 514 (UDP) |
To facilitate secure communication and align with our best practice, we strongly encourage the use of Transport Layer Security (TLS) between your security devices and our Adaptive MxDR platform for event forwarding.
While we understand that TLS support may not be available on all devices, if your devices do support TLS communication, we recommend utilizing port 6514 for seamless integration.
In some cases, the upgraded version of the device might incorporate TLS support without prior notice. If you come across such a scenario or for further assistance in configuring TLS, we kindly ask you to reach out to your dedicated Adaptive MxDR Service Delivery Lead.
Device Configuration
To configure OPNSense Device
Login into OPNsense GUI with Admin credentials. Change Local Log settings as guided below.
Navigate to System > Settings > Logging, click Local Logging Options.
Select the following options in Log Firewall Default Blocks:
Log packets matched from the default block rules put in the ruleset
Log packets matched from the default pass rules put in the ruleset
Log packets blocked by 'Block Bogon Networks' rules
Log packets blocked by 'Block Private Networks' rules
Click Save to store the new settings.
To Send Firewall logs to CYBERHUB
Navigate to System > Settings > Logging/targets, click Destinations
Add New destination by clicking on + symbol.
In Edit Destination, select the following
Select Enabled
Transport - Select TCP
Applications - Select filter and firewall
Levels - Select all levels except debug
Facilities - Select all
Hostname - Provide CyberHub IP
Port - 601
Select rfc5424
Description - Any useful description
4.Click Save and then Apply the settings.
To Configure pfSense Device
Login into pfSense GUI with admin credentials. Change Global Log settings as guided below.
Navigate to Status > System Logs > Settings, click General Logging Options.
Select the following:
Log Message Format - syslog (RFC 5424, with RFC 3339 microsecond-precision timestamps)
In Log Firewall Default Blocks, select the following
Log Packets from Default Block Rules in the ruleset
Log Packets from Default Pass Rules in the ruleset
Log Packets from Block Bogon Networks Rules
Log Packets from Block Private Networks Rules
Click Save to store the new settings.
To Send Firewall logs to CYBERHUB
In Settings, navigate to Status > System Logs, click Remote Logging Options.
Select the following:
Select Enable Remote Logging
Source Address - Keep it Default reflected value as “Any“
IP Protocol - Select TCP.
Remote Log servers - Provide <CyberHub IP:601>.
In Remote Syslog Contents, select Firewall Events
Click Save to store the changes.
Integration Parameters
Parameters required from customer for Integration.
Property | Default Value | Description |
---|---|---|
IP Address | OPNsense/pfSense interface IP address | Hostname or IP address of the device which forwards logs to the CyberHub |