Home »
A few simple steps to get you going
Thank you for choosing OPNsense®. Follow these steps and head to our documentation for further configuration. Select the right hardware for your setup before installing OPNsense®.
Step 1 - Hardware selection & sizing
Virtual
Processor
1 or more virtual cores
RAM
Minimum required RAM is ≥ 4 GB
Install method
ISO
Install target
Minimum recommended virtual disk size of 8 GB
Minimum
The minimum specification to run all OPNsense standard features that do not need disk writes, means you can run all standard features, except for the ones that require disk writes, e.g. a caching proxy (cache) or intrusion detection and prevention (alert database).
Processor
1 Ghz dual core cpu
RAM
≥ 4 GB
Install method
Serial console or video (vga)
Install target
SD or CF card with a minimum of 4 GB, use nano images for installation
Recommended
The recommended specifications to run all OPNsense® standard features ensure that every feature is functional and suitable for most use cases.
Processor
1.5 GHz multi core cpu
RAM
≥ 4 GB
Install method
Serial console or video (vga)
Install target
120 GB SSD
Step 2 - Download & prepare installation media
Installation files
Depending on your hardware and use case different installation files are provided to Install OPNsense®. Select the right version for your system.
DVD
ISO installer image with live system capabilities running in VGA-only mode
VGA
USB installer image with live system capabilities running in VGA-only mode
Serial
USB installer image with live system capabilities running in serial console (115200) mode with secondary VGA support
Nano
A preinstalled serial image for 4GB USB sticks, SD or CF cards for use with low-end embedded devices 32bit = i386 64bit = amd64 Sample file listing OPNsense-26.x.x-OpenSSL-cdrom-amd64.iso.bz2 OPNsense-26.x.x-OpenSSL-nano-amd64.img.bz2 OPNsense-26.x.x-OpenSSL-serial-amd64.img.bz2 OPNsense-26.x.x-OpenSSL-vga-amd64.img.bz2
Looking for the latest realease?
First download and install the current distribution version (usually updated twice a year) and then utilize the powerful update mechanism from within the User Interface.
Writing to installation media
The easiest method of installation is the USB-memstick installer. If your target platform has a serial interface choose the “serial image. 64-bit and 32-bit install images are provided. The following examples apply to both.
Write the image to a USB flash drive (>= 1GB), either with dd under FreeBSD or under Windows with physdiskwrite (or Rufus).
Before writing an (iso) image you need to unpack it first (use bunzip2).
FreeBSD
dd if=OPNsense-##.#.##-[Type]-[Architecture].[img|iso] of=/dev/daX bs=16k
Where X = the device number of your USB flash drive (check dmesg)
Linux
dd if=OPNsense-##.#.##-[Type]-[Architecture].[img|iso] of=/dev/sdX bs=16k
Where X = the IDE device name of your USB flash drive (check with hdparm -i /dev/sdX) (ignore the warning about trailing garbage – it’s because of the digital signature)
OpenBSD
dd if=OPNsense-##.#.##-[Type]-[Architecture].[img|iso] of=/dev/rsd6c bs=16k
The device must be the ENTIRE device (in Windows/DOS language: the ‘C’ partition), and a raw I/O device (the ‘r’ in front of the device “sd6”), not a block mode device.
Mac OS X
sudo dd if=OPNsense-##.#.##-[Type]-[Architecture].[img|iso] of=/dev/rdiskX bs=64k
Where r = raw device, and where X = the disk device number of your CF card (check Disk Utility) (ignore the warning about trailing garbage – it’s because of the digital signature)
Windows
physdiskwrite -u OPNsense-##.#.##-[Type]-[Architecture].[img|iso].img
A simple alternative for writing image under windows is Rufus a tool to create bootable USB sticks with a nice GUI.
Step 3 - Installation to target device
Using the USB installer & quickly install OPNsense®
Configure your system to boot from USB.
Default behaviour is to start the Live environment, to install log in with user installer and password opnsense.
The installation process involves a few simple steps
- Configure console – The default configuration should be fine for most occasions.
- Select task – The Quick/Easy Install option should be fine for most occasions. For installations on embedded systems or systems with minimal diskspace choose Custom Installation and do not create a swap slice. Continue with default settings.
- Are you SURE? – When proceeding OPNsense will be installed on the first hard disk in the system.
- Reboot – The system is now installed and needs to be rebooted to continue with configuration.
WARNING: You will lose all files on the installation disk. If another disk is to be used then choose a Custom installation instead of the Quick/Easy Install.
VMware or XEN virtual Installations
After installation go to firmware page in the GUI and install the vmware-tools or xen-tools plugin for maximum performance and compatibility.
Step 4 - Initial Setup & Configuration
Defaults
Port Assignments
By default the system will be configured with 2 interfaces LAN & WAN. The first network port found will be configured as LAN and the second will be WAN.
IP ranges & DHCP
The WAN port will have a dhcp client and expects to be assigned an IP adress.
The LAN port will have a dhcp server, a static ip of 192.168.1.1/24 and offers ip adresses in the range of 192.168.1.100-200.
Users & Passwords
Default user: root / password: opnsense
Also good to know
For security reasons ssh is disabled by default and the console access is password protected.
OPNsense® documentation
An extensive manual is provided online with many up-to-date examples for making the most out of your newly setup security platform.