How to Install and Configure pfSense

Installation and Configuration of pfSense 2.3.1 for Your Office/Home Network

pfSense is an open source firewall or router distribution based on FreeBSD. It is installed on a physical/virtual machine to make a dedicated firewall or router for a network. It can be configured and upgraded through a web-based interface. Configuration and installation process of pfSense 2.3.1 is discussed in this article.

Environment Setup

Hostname pfSense.llinuxhelp.com
WAN IP Address 192.168.7.138
LAN IP Address 192.168.7.133
HDD Size 5 GB
pSense Version 2.3.1


To Install and Configure pfSense

Visit the following link and download pfSense,
https://nyifiles.pfsense.org/mirror/downloads/pfSense-CE-2.3.1-RELEASE-amd64.iso.gz

Burn the image to DVD/CD media or else go to pfSense download page and grab the " Live CD with installer" . Choose USB console type before downloading.

To install pfsense press 1.

Press " I" to install pfsense.

To Configure, click " Accept these settings" to proceed with the installation process.

Select " Custom Install" to get advance options in installation.

Select a disk to install pfsense.

Format the selected disk.

Select " Use this Geometry" option to proceed further.

It shows you a warning about disk format, if there is no data proceed with the Format option.

Now start partition the disk.

Select partitions, size and partition type. Then click enter to partition the disk.


Next select " Accept and install Bootblocks" option to install the boot loader.


Select the partitioned hard disk and click Enter.

A warning message will be displayed, Hit on" Ok" to continue.



Create subpartition, select " Accept and Create" to create swap memory.

Now the installation process begins.

Select the option as non-vga or symetmetric multiprocessing kernel.

After the installation is completed, reboot the system.

To configure the network

Select " No" to setup VLAN later.

There are two interface' s em0 and le0. Here, we have assigned em0 as LAN for internal interface and le0 as WAN for external interface with firewall enabled.

Type Y and click enter to continue.

The pfsense menu appears as shown below.

Enter 2 to set interface ip address. Set LAN IP as 192.168.7.133(default IP), Subnet mask.

Disable DHCP and forward by selecting N. Finally press enter to continue.

It redirects to the main configuration page.

Navigate to the browser, type https://< IP_address> and enter the username and password as " admin" and " pfsense" respectively.

A setup wizard window appears, click Next to continue.

Enter the hostname , domain, Primary DNS server, secondary DNS and then hit Next.

Set the timezone and hit Next.

Configure WAN interface, choose " DHCP" or “ static” and hit " Next" to move forward.

Configure LAN and click " Next" .

Set the Admin password, to access the SSH and Web GUI.

Now click Reload to make changes.

Click the pfSense webconfigurator

The pfsense webconfigurator GUI Dashboard appears as shown below.

Tag : pfsense
FAQ
Q
What's the difference between "BSDRP" and "OPNsense" or "pfSense"?
A
The main goal of BSDRP is not firewalling but routing. If you are looking for a firewall, or for sharing your Internet access, don't use BSDRP but use pfSense, OPNsense, SmallWall or t1n1wall, instead.
BSDRP doesn't have a Web GUI: It's to be configured from a CLI only (like Cisco/Juniper), or by an API (like netconf) [planned feature]
BSDRP is not intended for home use but for company use (small ISP as example)
Q
Whether the "pfSense" available for a free trial on Amazon?
A
The "pfSense" is available for free trial on Amazon with 30 days time period.
Q
Can you give me the official download link to get the "pfSense" package?
A
For download, the "pfSense" package in officially, use that the below link as "https://www.pfsense.org/download/".
Q
What are the minimum hardware requirements for pfSense?
A
Here you can see the minimum requirement for "pfSense",
1. CPU 600 MHz or faster
2. RAM 512 MB or more
3. 4 GB or larger disk drive (SSD, HDD, etc)
4. One or more compatible network interface cards
5. Bootable USB drive or CD/DVD-ROM for initial installation
Q
What is the alternative tool available for the "pfSense"?
A
Here I have to mention some of the alternatives for the "pfSense",
1. DD-WRT
2. OpenWrt
3. OPNsense
4. IPFire