How I installed Pfsense for my home network Part 2
Disclaimer: I am by no mean a professional. I am just doing this for fun and enjoy learning along the way (I probably still don’t know anything 🤣). These are not meant as a guide and should not be treated as such. What I am showing you here is what I did, and it worked for me and my situation but might not apply to you. Your result could be very different from mine. Heck, I could be doing or saying something entirely wrong since I’m still considering myself a newbie (Hence the name of my site “noob to networking” 😉). Please don’t take a random person’s words on the internet too seriously, and again, ALWAYS and I mean always do your own research (Well, take this one seriously, though).
Happy Monday! Sorry for the late post (well, more like an entire week delayed post) 😛 but fear not. I finally got around to writing this week’s post. Now here we are; what are we supposed to talk about again? Right, Pfsense. So in the last post, I briefly talk about how I want to configure my home network, and Pfsense is my choice for firewall/router. Let’s talk about it, shall we?
The Hardware
As always, you have to start with the hardware. Don’t let those terms like routers, firewalls, or servers… scare you. They are just a computer. EVERYTHING IS A COMPUTER, in a sense. So yea, no doubt my Pfsense box is just a computer as well. As you can already tell, I am pretty cheap but also want a lot of performance (more than the intended purposes). You can say it is a bit overkill, but I take performance per dollar very seriously, and that led to my decision (of course, sometimes due to impulsive purchase, but we don’t talk about it)😉
So what is the requirement for the Pfsense box again? First, it needs to be an X86 architecture of CPU . in case you are not sure what they are. There was a short mention of them in the Noob 101 lesson about CPU (it totally not a shameless plug, I promise 😝)
Second, you will want to have at least 2 network ports. Why, you ask? Because you need one to connect to WAN as an input and another to output LAN. It is recommended to have a network switch to take the LAN ports from Pfsense so that you can connect multiple devices to your LAN unless you only want 1 device to be connected (hey, you do you, I don’t judge 🤷♂️) Most of the time, the PC you have only come with 1 network port so what do you do? As long as your PC has a peripheral component interconnect express or PCI-E slot available in your motherboard, then you can add a network card and have more network interface ports. If you are unsure what the PCI-E slot looks like, it is the slot where you connect your graphic card to your motherboard 😉.
That is pretty much it. If you have an old office PC lying around or can find one for cheap, it will be a great Pfsense box that you can build for cheap. I found my HP Prodesk off eBay, and it was rocking 6th gen Intel i5-6500 4 cores- 4 threads (A very capable CPU even now). 8 GB of DDR4 RAM and 256GB of Samsung SSD, The best part? I got this machine for less than 100$. And since I want to overkill everything, I bought another stick of 8 GB RAM and made this into a 16GB of RAM PC. I also bought the network card for around 20$. In total, I spent around $120 on this setup. Not bad at all, I mean if you look into other options for firewall/router. Sure, you might find some for around 70-150, but they are very weak specs-wise and aren’t that secure. Furthermore, wouldn’t it be cool to be able to have a very powerful router that you “build” yourself? I think so.
The Software
If you got this far, you must have hardware ready to install Pfsense on. Also, I assume you know what you are doing or think you do😛. I have no idea what I am doing, so joke on you if you think otherwise 😜. With that said, with the hardware time to install the software, and in this case, it is Pfsense. Pfsense will be installed as a software package of the FreeBSD operating system. Don’t worry about understanding what I was saying; It is just an FYI. You can say installing Pfsense is like installing an operating system (even though it technically isn’t an operating system, but I don’t think people would fight you if you say it is). If you are new to my website, this would be the first for you, but if you have been here before and read a few previous posts about installing the operating system. They worked in a very similar way. Here are the steps:
Make a bootable USB flash drive
Install the Operating system on the internal drive.
Profit? I mean complete the installation process and run the inital set up.
Make a bootable USB flash drive
I’m sure you have seen this done a million times already, but well, here we are again. As usual, here is the list of items you will need:
A USB flash drive (duh)
A computer for you to make a bootable drive with (we been going over this for alot of time already so I’m sure you get it by now)
A brain or something close to it is fine too.
Do you remember what we need to do next? That, right? Make sure the PC you want to install the machine on has the correct boot order, and it will be able to boot into the USB drive. You can do that by changing the setting in the Bios, but most of the time, they work without you need to do anything (other than plug the USB in, of course).
Installing the operating systems into the internal drive
So once you figure out which one is ibg1, connect that into a computer or a network switch like us normie 🤪. This is the process to configure Pfsense using the web interface. You can absolutely be using the VGA interface and still be fine, but I like to work with beautiful graphics, so I’m going to use the web interface. I connected the igb1 to a network switch and connected one of the ports on the switch to my computer using an ethernet cable.
Initial configuration for Pfsense.
Congratulations, if you made it this far, meaning you should have a brand new firewall for your home network. If not, I hope this has been informative enough to make it worthwhile. Pfsense is a very powerful firewall, and we can do a lot with it when creating our firewall rules for better network security. I am still learning about it myself, and I would be happy to share some of what I learned, insignificant as they might be. Until next time, have a wonderful week.