Bachelor Tech
  • Home
  • Tutorials
  • Portfolio
  • About Jan
  • Contact Jan

OPNSense Installation

by Jan Bachelor September 23, 2020

1. OS Installation

  • Once the booting sequence completes, notice that the VM will create a DHCP server with a default address of 192.168.1.1 (the VM’s web interface becomes available, but we do not need it at this point).
Initial post-boot screen in OPNSense
  • When prompted for login, enter ‘installer’ as username and ‘opnsense’ as password. Install it.
  • If you do not consider yourself experienced with OPNSense installation, while in the installer, select ‘Guided installation’.
OPSense’s GUI interface – installation mode
  • You will then get notified about all data on the local drive being deleted. This is fine – select ‘da0’ and then ‘GPT/UEFI’ mode as we do not need to be careful about older MBR compatibility settings.
  • You will then be prompted for a password and once done, a reboot prompt will pop up.
  • Once the reboot completes, you can log in as ‘root’ using the password you created earlier and you will see a screen like this:
FreeBSD console environment once logged in as root

2. Verify that AES-NI is supported

  • While in the OPNSense console, choose option 8 and then type:

[shell]dmesg | grep AES[/shell]

Verify that AES-NI instructions are loaded
  • This way, you will verify that AES-NI instructions are supported and thus the VM will utilize your CPU’s features for faster encryption / decryption.
  • In case AES-NI is not loaded properly, there is chance that either your CPU does not support it (e.g. Celeron/Pentium/older AMD CPUs) or that you did not select it during the VM set up – double check it:
Verify that AES-NI support is selected

While some other parts of the installation (such as assigning IP configuration to an interface) can be done from the console, we will do the rest from the comfort of your browser providing that you can connect to the IP address that the console displayed to you (typically 192.168.1.1). Proceed to the next step for more OPNSense adventure!

OPNSense VM Set Up
PCI Passthrough Set Up (Optional)
Go back to course overview: Build Your Own Router – Proxmox, OPNSense, OpenVPN server and a VPN client all in one!

2 comments

SL September 23, 2020 - 5:32 pm

It seems that installing OPNSense with both “pcid” and “aes” flags enabled actually disables the AES-NI functionality. Reinstalled by activating only “aes” flag which activates AES-NI.

Reply
SL September 23, 2020 - 5:45 pm

Disregard my previous comment. The reason why AES-NI functionalities were not activated was because I have forgotten to select Ivy Bridge as chipset during initial VM configuration and only changed it after the OS was installed.

Reply

Leave a Comment Cancel Reply

Save my name, email, and website in this browser for the next time I comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 FacebookWhatsappEmail

Course Steps

  1. Disabling default Proxmox firewall
  2. OPNSense VM Set Up
  3. OPNSense Installation
  4. PCI Passthrough Set Up (Optional)
  5. WAN / LAN Set Up (Before OPNSense Installation)
  6. Initial OPNSense Set up in Web GUI
  7. Dynamic DNS Set Up with DuckDNS on OPNSense
  8. Choosing a VPN provider for your OPNSense
  9. Is it worth getting VPN on OPNSense?
  10. NordVPN installation on OPNSense
  11. Multi-WAN Set Up in Proxmox & OPNSense
Previous Next

Recent Comments

  • Jan Bachelor on Dynamic DNS Set Up with DuckDNS on OPNSenseHi Jake, that's awesome, congratulations on getting…
  • Jake on Dynamic DNS Set Up with DuckDNS on OPNSensefollowed guide above to the T and all is working. i…
  • Fastbrain on Dynamic DNS Set Up with DuckDNS on OPNSenseThanks for the guide. For some reason, after follow…

Other courses

Install iRedMail Mail Server As Proxmox VM With...

October 31, 2024

Remote Bucket Storage for Proxmox VM Backups

August 16, 2024

Concur Alternative: Import Employees’ Credit Card Expenses to...

January 19, 2024

Create an automated Gravity workflow that will allow...

January 19, 2024

Dynamically Populate Gravity Forms from Google Sheets (GSheets...

March 16, 2021
Bachelor Tech
  • Home
  • Tutorials
  • Portfolio
  • About Jan
  • Contact Jan

Recent Posts

  • How to join two Proxmox nodes into a cluster (PVE 8.x)

  • How to Rename a Proxmox Node

  • How to mount an NFS share on an Android box

Facebook Twitter Instagram Pinterest Linkedin Youtube

All Rights Reserved. The theme was customized from Soledad, see PenciDesign