Opnsense Firewall install step by step

Opnsense Firewall install step by step

Jun 17, 2022 - 09:56
 0  864
Opnsense Firewall install step by step

is an Open Source Firewall Distribution based on the FreeBSD operating system and its packet filter pf. In this article we will show you how to install OPNsense and perform an initial configuration.

OPNSense Firewalls from Thomas-Krenn

OPNsense Download

Access the OPNsense Download Portal.

On the OPNsense download portal, you will need to find the last version of OPNSense Firewall.

Select the OPNsense software Archictecture, the DVD image type, the desire mirror and click on the Download button.

opnsense download

In our example, we downloaded the OPNsense-19.7-OpenSSL-dvd-amd64 installation image.

The installation file name was OPNsense-19.7-OpenSSL-dvd-amd64.iso.bz2.

The ISO image is compacted using the extension BZ2.

You will need to use a software like 7zip to extract the ISO image from the BZ2 package.


Tutorial - OPNsense Installation

Perform the computer boot using the OPNsense installation media.

On the Menu screen, press Enter to start the OPNsense installation process.

opnsense welcome screen

After finishing the boot process you will be sent to a login prompt.

To start the installation you need to login using the following information:

• User: installer
• Password: opnsense

The OPNSense welcome screen will be presented.

opnsense install screen

Select the Change keymap option and configure the correct keyboard map.

opnsense keymap

Select the Guided installation option.

opnsense installation guided

Select the disk where OPNsense should be installed.

opnsense disk part

Select the GPT/UEFI mode.

opensense installation boot loader

The system will start the installation of the OPNsense server.

Wait for the installation to finish.

opnsense installation

Set the root user password.

opnsense root password

Press Enter to reboot the computer.

Remove the installation media.

opensense tutorial install

After rebooting, the OPNSense console menu will be presented.

opnsense console menu

You will be able to see the IP address of the LAN interface.

Enter the option number 2 and configured the desired IP address on the LAN interface.

opnsense lan address

Congratulations! You successfully installed the OPNsense server.


OPNSense Dashboard Login

After finishing the IP address configuration, you are able to access the OPNSense Web interface.

Open a browser software, enter the IP address of your OPNSense firewall and access web interface.

In our example, the following URL was entered in the Browser:


The OPNSense web interface should be presented.

opnsense login

On the prompt screen, enter the OPNsense Default Password login information.

• Username: root
• Password: Password set during OPNsense the installation

After a successful login, you will be sent to the OPNSense Dashboard.


OPNSense Setup Wizard

On your first access, the OPNSense configuration wizard will be displayed.

opnsense wizard

Click on the next button to perform the hostname and DNS configuration.

opnsense host information

Perform the Timezone and NTP server configuration.

opnsense timezone configuration

On the next screen, if needed, you may change the network interface configuration.

In our example, we did not perform any change.

Next, the system will ask you to change the administrative password.

After finishing the configuration wizard, the system will reload the OPNsense configuration.

You will be sent to the OPNSense Dashboard.

opnsense dashboard

The OPNSense installation was finished successfully.

Congratulations! You are now the administrator of a OPNSense server.