How to install OPNSense

To install OPNSense

OPNsense is a free firewall and routing platform. It contains most of the features available in expensive commercial firewalls with the benefits of open source. Installation of OPNSense in Linux is explained in this manual.

 

Features

  •     Traffic Shaper with the two-factor authentication throughout the system.
  •     Build-in reporting and monitoring tools including RRD Graphs.
  •     Netflow Exporter and network Flow Monitoring.
  •     Forward Caching Proxy (transparent) with Blacklist support.
  •     High Availability & Hardware Failover.
  •     Intrusion Detection and Prevention.
  •     Support for plugins, DNS Server & DNS Forwarder.
     

 

To install OPNSense

Visit the following link, to Download OPNSense iso image
https://opnsense.org/download/

Make it as a bootable USB or DVD, and reboot it. The OPNSense installation wizard appears as follows.
Installation-OPNsense-firewall-routing-platform-Linux-OPNSense-installation-wizard
Press 1 for multi user
Installation-OPNsense-firewall-routing-platform-Linux-multi-user
The welcome screen appears, press enter key to proceed further.
Installation-OPNsense-firewall-routing-platform-Linux-welcome-screen
In Configure console page,  select “Accept these settings” and press enter.
Installation-OPNsense-firewall-routing-platform-Linux-Configure-console
Choose the type of installation to be performed.

Installation-OPNsense-firewall-routing-platform-Linux-installation-type
Select  a hard disk to continue the installation.

Installation-OPNsense-firewall-routing-platform-Linux-hard-disk

Select the installation mode. Here we are opting “GPT/UEFI” mode as it is the recommended option.
Installation-OPNsense-firewall-routing-platform-Linux-GPT-UEFI-mode
The installation starts.
Installation-OPNsense-firewall-routing-platform-Linux-installation-starts
After installation, reboot the system.
Installation-OPNsense-firewall-routing-platform-Linux-reboot

 

 

After rebooting, login page opens. Enter the default user name as “root” password as “opnsense”.
Installation-OPNsense-firewall-routing-platform-Linux-login-page
Installation-OPNsense-firewall-routing-platform-Linux-user-password
Select option "2" to set the interface IP.
Installation-OPNsense-firewall-routing-platform-Linux-set-interface-IP
And set the IP, subnet bit rate and default gateway. Then disable DHCP server by Select “n”.
Installation-OPNsense-firewall-routing-platform-Linux-IP-subnet-bit-rate-default-gateway
Finally it shows URL link for web user interface.
Installation-OPNsense-firewall-routing-platform-Linux-URL-link-for-web-user-interface
Open browser in client machine and paste the OPNSense URL.
Installation-OPNsense-firewall-routing-platform-Linux-OPNSense-URL
Enter user credentials to login.

Installation-OPNsense-firewall-routing-platform-Linux-credentials
System wizard opens, click “next” to continue.
Installation-OPNsense-firewall-routing-platform-Linux-System-wizard
Set the host name, domain name, DNS and click “next”
Installation-OPNsense-firewall-routing-platform-Linux-host-name-domain-name-DNS
Provide the time server information.
Installation-OPNsense-firewall-routing-platform-Linux-time-server
In configure WAN option, select the DHCP type and click “next”
Installation-OPNsense-firewall-routing-platform-Linux-configure-WAN
Set the LAN IP Address, Subnet mask and bang "next".
Installation-OPNsense-firewall-routing-platform-Linux-LAN-IP-Address-Subnet-mask
Set the web interface admin password and click “next” to proceed further.
Installation-OPNsense-firewall-routing-platform-Linux-web-interface-admin
Finally click “Reload” to apply the changes.
Installation-OPNsense-firewall-routing-platform-Linux-Reload

Installation-OPNsense-firewall-routing-platform-Linux-lobby-dashboard

 

 


Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Firewall OPNsense FreeBSD
user image Author :  Sebastian