Sunteți pe pagina 1din 8

17.2.

2018 Part 1: Install pfSense on ESXi | Calvin Bui

Calvin Bui
Home Topics Donate

Part 1: Install pfSense on ESXi


Saturday, 23 August 2014 • pfSense

pfSense is an open source firewall/router based on FreeBSD. It is more than just however,
with the ability to be a DNS, VPN, IDS/IPS, DHCP, NTP and cache (using Squid). Why would
you dedicate a full system to pfSense when it can easily run as a virtual machine to provide
networking to your entire infrastructure.  This guide will walk you through replacing your
current router with pfSense and how to install pfSense on ESXi.

What you will need:

A computer or laptop - to do the configuring


ESXi - the hypervisor it will run on
Modem - used to connect to the Internet, can be your current modem/router combo
RJ45 cables

https://calvin.me/part-1-install-pfsense-on-esxi-5-5/ 1/11
17.2.2018 Part 1: Install pfSense on ESXi | Calvin Bui

At least two network cards in your server, although you can use one it is easier to spread
your connections out as LAN and WAN.
KVM or monitor to ESXi, required when changing its IP address.

Prerequisites:

Think of the private address range you want

Private addresses are:

10.0.0.0 to 10.255.255.255 (16777216 addresses)


172.16.0.0 to 172.31.255.255 (1048576 addresses)
192.168.0.0 to 192.168.255.255 (65536 addresses)

My current home network is on the 192.168.X.X network but I am hoping to change it to


10.X.X.X to save myself some typing. pfSense uses the 192.168.1.X network by default.

Have a video and keyboard connection to your ESXi box somehow.

The best way would be a physical screen and monitor (what I will use), KVM or IPMI (set a
static address or else keep in mind the IP address of IPMI may be out of range once you
change once you begin to work with the new address range.).This is because you will need
to access pfSense, change your ESXi IP to get an address etc.

Let’s Start!

Currently your setup may look similar to something like this:

https://calvin.me/part-1-install-pfsense-on-esxi-5-5/ 2/11
17.2.2018 Part 1: Install pfSense on ESXi | Calvin Bui

We want it to look something like this:

Our modem becomes independent of the router. pfSense becomes the router living as a VM on our ESXi host. A

switch may not be needed, but they're great to have.

pfSense as a virtual machine will sit between your modem and switch to act as a router. It
will be able to provide IP addresses to both physical and virtual machines via it’s DHCP
server (or you can set the IP manually). One network card on your ESXi host will connect to
the modem (WAN) while the other connects to the your switch (LAN). Without a switch, you
will only be able to connect one host to your network  as there is only one connection!

https://calvin.me/part-1-install-pfsense-on-esxi-5-5/ 3/11
17.2.2018 Part 1: Install pfSense on ESXi | Calvin Bui

Installation

1. Set up a LAN and WAN switch in the vSphere client. One NIC (network card) will be
the LAN and one NIC will be the WAN. The LAN NIC will act as a router to your VMs as well
as anything connected to the switch. The WAN will be connected to your modem to access
and provide Internet connectivity to your LAN.

Two vSwitches using two different network cards. One network card is responsible for the local network and one

is dedicated to the wide area network (Internet)

Give the names WAN and LAN corresponding to the which ever NIC is connected to the
Modem (WAN) and Switch (LAN).

2. Create a new Virtual machine with the follow settings:

https://calvin.me/part-1-install-pfsense-on-esxi-5-5/ 4/11
17.2.2018 Part 1: Install pfSense on ESXi | Calvin Bui

3. Load the pfSense ISO image into the VM and boot from it.

Straightforward enough. Make sure to boot from the CD/DVD drive.

https://calvin.me/part-1-install-pfsense-on-esxi-5-5/ 5/11
17.2.2018 Part 1: Install pfSense on ESXi | Calvin Bui

4. Go with the default boot (number 1) or let the timer run down.

5. Press ‘I’ when prompted again to start the installer.

https://calvin.me/part-1-install-pfsense-on-esxi-5-5/ 6/11
17.2.2018 Part 1: Install pfSense on ESXi | Calvin Bui

Otherwise you will be running a LiveCD. Restart if this happens.

6. Accept all the default settings and wait for it to finish installing.

https://calvin.me/part-1-install-pfsense-on-esxi-5-5/ 7/11
17.2.2018 Part 1: Install pfSense on ESXi | Calvin Bui

7. Reboot when finished.

pfSense has now been installed. It isn’t doing anything yet so we will need to configure and
transition our network over to it.

Continued in Part 2: Install pfSense on ESXI 5.5 where we will configure the new installation.

13 Comments calvin.me  andreiu

Sort by Newest
 Recommend ⤤ Share

calvin.me requires you to verify your email address before posting. Send verification email to ×
andreifreexxx@yahoo.com

Join the discussion…

Kashif • 2 days ago


Hi Calvin

I have followed all the mentioned steps still cant access web gui for pfSense it instead takes me to
my Daytrek router . http://192.168.1.1 does not open pf sense web gui

Can you please help me out what could be the issue


△ ▽ • Reply • Share ›
https://calvin.me/part-1-install-pfsense-on-esxi-5-5/ 8/11

S-ar putea să vă placă și