How to Install and Configure pfSense 2.1.5 (Firewall/Router) for Your Home/Office Network

18. Once subpartitions has been created, you will see the installation process..

pfSense Installation Process

pfSense Installation Process

19. At last for installing the kernel, you can choose from the options as non-vga or symetmetric multiprocessing kernel. Here I’m going to choose non-vga and keyboard less.

Install Kernel

Install Kernel

20. After kernel has been installed, reboot the machine and configure the networking and more in next step as follows.

Reboot Machine

Reboot Machine

pfSense Rebooting

pfSense Rebooting

21. After rebooting, you will get the below screen with available interfaces to configure the network.

Configure pfSense Network

Configure pfSense Network

The first option is presented as VLAN’s, generally VLAN’s are not needed, they are needed for advance networking, simply here say No.

There are two interface’s em0 and em1, I have planned to assign em0 as WAN our external interface and em1 as LAN which for internal interface with firewall/NAT features enabled.

Enable Network Interfaces

Enable Network Interfaces

22. I don’t need a optional interface name, so just continue by pressing Return Key. It will ask for the confirmation Yes/No proceed with Y and press enter to continue.

Assigned Interfaces

Assigned Interfaces

23. After setting up interfaces, you will get the pfsense menu as show below.

pfSense Menu

pfSense Menu

  1. WAN IP address will be assigned from DHCP. If you need we can assign a static IP.
  2. LAN IP address will be default as 192.168.1.1, if you want to change choose option 2 and set interfaces IP address.

First let me define a Static IP, subnet mask in Bit count and gateway for the WAN and LAN. Disable the DHCP and continue by choosing Y.

Configure LAN Interface

Configure LAN Interface

Confirm Network Settings

Confirm Network Settings

24. Then for LAN interface, If we need DHCP for local area network from pfsense we can assign a range of address from pfsense. I have chosen 192.168.0.15 as my pfsense LAN address and for client machine’s I need to assign a IP address from DHCP in the range of 192.168.0.16 – 192.168.0.25.

pfSense LAN IP Address

pfSense LAN IP Address

Assign DHCP IP Range

Assign DHCP IP Range

25. After all the above settings are performed, it will prompt you a link to access pfSense webconfigurator interface to configure further steps.

pfSense WebGUI Access

pfSense WebGUI Access

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Babin Lonston

I'm Working as a System Administrator for last 10 year's with 4 years experience with Linux Distributions, fall in love with text based operating systems.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

29 Responses

  1. Xander says:

    Hello i’m a bit of a noob in this do you need to use the ip of the place you are at or use the ones in the tutorial?

  2. shaikh Muzammil says:

    Dear Sir,

    My company need pfsense firewall install on my server..

  3. Ephrem Assefa says:

    After this what shall we do to make bridge mode.

  4. Amar Bhati says:

    Yes it is very helpful but a little bit of confusion when assigning IP address wan and LAN in pfsense.

  5. Khurram Raja says:

    How can you put Lan and Wan on same subnet? Lan and wan ip are the network Why is that?

    • Jeff says:

      I agree. I am a little confused by this as well. Shouldn’t you change you lan ip scheme to 192.128.1.x? I ask because I really think this is a good article and I am about to set this up in my lab, only it is being install on a Check Point UTM, and through console port. Thanks again!

  6. MRVH says:

    I have a typo:

    pfsense1(LAN: 192.168.1.3 WAN:221.132.18.251) and pfsense2 (LAN: 192.168.1.2 WAN: 221.132.18.253). I’m config sync with LAN ok but with wan can’t sync, please help me. Thank.

  7. Ye Lin Naing says:

    Thank you…..very much!

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

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