How to install pfSense 2.4.2

Welcome back, everyone! Time for an updated version on how to install pfSense 2.4.2! It has been a while since I did the last tutorial on how to install pfSense. Let’s have a look if something has changed on the installation routine of pfSense 2.4.2. For this tutorial, I will install pfSense 2.4.2 on a VirtualBox Virtual Machine. If you want to install pfSense on a physical appliance, you need to create a bootable USB Drive. I will show you how to create a Bootable USB Drive in the first step. The installation routine will be exactly the same for Physical and VirtualBox, so if you use a Virtual Machine, just continue on Step 1 and skip the optional first step.

So let’s go ahead and install pfSense 2.4.2!

 

Optional – Creating a bootable USB Drive

Go ahead and download the USB Memstick Installer. Choose either the VGA or Serial version, depending on which appliance you have (VGA = with Monitor Plug / Serial = Without) After the download is finished, extract the file.

How to install pfSense 2.4.2
Downloading the Image

Next, go ahead and download Win32 Disk Imager. Start it and select your extracted pfSense 2.4.2 IMG file. Click on Write to write on your USB Drive. Be aware the USB Drive will get erased in the process.

How to install pfSense 2.4.2
Creating a bootable USB Drive

 

Now plug the USB Drive into your appliance/device and boot from USB. You can now continue with Step 2.

 

Step 1 – Creating a Virtual Machine

First go ahead and download the pfSense 2.4.2 CD Image (ISO) Installer. Extract the file after the download is finished.

How to install pfSense 2.4.2
Downloading the ISO file

 

Now fire up VirtualBox and click on New. Enter the details as following.

  • Name: Whatever you want
  • Type: BSD
  • Version: FreeBSD (64-bit)

Allocate as much memory as you like, 512MB – 1024MB is sufficient for most cases. Click on create.

How to install pfSense 2.4.2
Creating a VM

 

Select a location where you want to save your VM, select how much disk space you want to allocate, I’ll go for 8GB and click on create again.

How to install pfSense 2.4.2
Allocating disk space

 

Now right-click your VM and navigate to Network.

Now it’s up to you how many interfaces you want to assign. I will just use this pfSense in my lab, and I want it to have 3 interfaces. You should at least assign 2 interfaces – one for WAN and one for LAN. If you want your pfSense VM to have internet access, you have to set Adapter 1 to Bridged Adapter, so it can get internet access from your physical network.

So, for testing purposes it would be a good idea to use the following setup:

  • Adapter 1: Bridged Adapter
  • Adapter 2: Internal Network (‘Intnet’) or Host-only Adapter.
How to install pfSense 2.4.2
Adapter 1

 

How to install pfSense 2.4.2
Adapter 2

 

Now click on ok and start your VM.

When it starts, select the location of your pfSense ISO file that you downloaded earlier.

How to install pfSense 2.4.2
Selecting the ISO file

 

Now the installation routine starts. The process is the same for physical and virtual installations.

 

Step 2 – Install pfSense 2.4.2

First, accept the Netgate Copyright Terms (That seem to pop up everywhere nowadays lol).

How to install pfSense 2.4.2
Accept! Or don’t.

 

Choose to install next.

How to install pfSense 2.4.2
Install pfSense

 

Choose a Keymap by selecting it and pressing Enter. After choose to Continue with ….. keymap.

How to install pfSense 2.4.2
Choosing a Keymap

 

How to install pfSense 2.4.2
Confirming the Keymap

 

Next, we need to choose a partitioning method. We stick with the default Auto (UFS).

How to install pfSense 2.4.2
Guided Disk Setup

 

Now the installation routine will run through. Soon as it finished, you have the option to enter a shell. We don’t need to do that right now, so select No.

How to install pfSense 2.4.2
No!

 

Finally, hit Reboot.

How to install pfSense 2.4.2
Rebooting

 

In VirtualBox navigate to Devices -> Optical Drives -> Untick the ISO file. If you haven’t been fast enough before pfSense rebooted, just reboot the VM again manually.

How to install pfSense 2.4.2
Removing the ISO

 

Step 3 – Accessing the Web GUI

Once pfSense is booted up, you can access it via Web Browser using it’s LAN IP Address, per default 192.168.1.1. You can also see that our WAN interface automatically received an IP Address from our DHCP server on our local network. I won’t explain the other options here, you can read up on that in the pfSense Category.

How to install pfSense 2.4.2
Booted up

 

With a computer that also resides in Internal Network (Intnet) open a Web Browser and enter 192.168.1.1 in the address bar.

Add an exception to your browser.

How to install pfSense 2.4.2
Adding a browser exception

 

How to install pfSense 2.4.2
Confirming

 

 

Now you can log in with the default credentials: admin/pfsense

 

Step 4 – Initial Configuration

We will use the Initial Configuration Wizard, that nowadays does a decent job of helping you to get your system up and running in no time, going through the most important steps. Click next until you reach Step 2 of 9.

Here you can change the Hostname and enter a Domain if you want. Leave everything else on default.

How to install pfSense 2.4.2
Adjusting Hostname and Domain settings

 

Next, choose your Timezone.

How to install pfSense 2.4.2
Choosing a Timezone

 

Now we are going to configure the WAN interface. If you are on a VirtualBox VM, you can leave it as DHCP, the WAN interface will get internet access through your local networks DHCP server. If you run a physical appliance, you would choose PPPoE and enter the credentials provided by your Internet Service Provider.

We choose DHCP for VirtualBox and leave everything else on default. I won’t go through all the options as this is a basic installation tutorial. You find further information in the pfSense category.

How to install pfSense 2.4.2
WAN settings

 

Next, you could change the Subnet. We leave it on default for now.

How to install pfSense 2.4.2
Subnet options

 

And most importantly, change your admin password!

How to install pfSense 2.4.2
Changing the admin password

 

Finally, reloading pfSense with the new settings.

How to install pfSense 2.4.2
Reloading

 

And congratulations! Your pfSense is now ready to use.

How to install pfSense 2.4.2
Confirmation of successful configuration

 

We see on our Dashboard that WAN, as well as LAN, are connected. We verify our internet connection by navigating to Diagnostics -> Ping and pinging www.google.com

How to install pfSense 2.4.2
LAN and WAN up and running

 

How to install pfSense 2.4.2
Verifying our Internet Connection

 

And with this, you are left with a fully working pfSense firewall. You can now go ahead and knock yourself out in the pfSense category or on the YouTube channel.

Thanks for reading, until next time!

1
Leave a Reply

Tell us what you think!

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

  Subscribe  
newest oldest most voted
Notify of
trackback

[…] wizard didn’t change from the previous release. If you need guiding through it, check out this tutorial. Look up further tutorials in the pfSense […]

%d bloggers like this: