How To Install Pfsense in VirtualBox - Samurai Hacks

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Join our newsletter today for free. Enter your Email Subscribe Now

Samura Hack
Feed Your Technolust

How To Install PfSense In VirtualBox

In this tutorial, we will install pfSense in VirtualBox it will work as a rewall


for our virtual hacking lab. Before we dive into installing pfSense in
VirtualBox let us nd out more about pfSense.

What is pfSense?
pfSense is network rewall based on FreeBSD operating system with a
custom kernel and includes free third-party packages for additional features.
 It provides same functionality or more of common commercial rewalls.
https://samuraihacks.com/install-pfsense-in-virtualbox/ 1/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Click here
Join our newsletter to learn
today How toEnter
for free. Install KaliEmail
your Linux in VirtualBox.
Subscribe Now

Install pfSense in VirtualBox

Download pfSense from here.


Download 7-Zip (For extracting pfSense .gz download) from here.

Step 1:

After you have extracted the pfSense ISO le from .gz archive using 7-Zip,
open VirtualBox Manager and click “New” at the upper left corner.

Enter the desired name of the VM, select “BSD” from “Type” drop-down menu
and select “FreeBSD 32 or 64bit” from Version drop-down menu.

Step 2:

Select the desired ram for your VM. I would recommend using 512MB but it
will run smoothly at 256MB if you are running low on RAM.

https://samuraihacks.com/install-pfsense-in-virtualbox/ 2/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Join our newsletter today for free. Enter your Email Subscribe Now

Step 3:

Select the name, location, and size of the virtual hard disk, I would
recommend at least 4GB in size but the minimum requirement is 1 GB if you
are running low on disk space and click “Create”.

https://samuraihacks.com/install-pfsense-in-virtualbox/ 3/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Join our newsletter today for free. Enter your Email Subscribe Now

You have successfully created Virtual Machine. In the next step, we will link
the pfsense image le to the virtual optical drive.

Step 4:

Click “Settings” in the VirtualBox Manager at the upper left corner and
select “Storage” tab on the left panel. Hit the drive icon at the bottom of
the page and select “Add Optical Drive”.

https://samuraihacks.com/install-pfsense-in-virtualbox/ 4/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Join our newsletter today for free. Enter your Email Subscribe Now

A new window will pop up, hit the “Choose disk” button and select the
pfsense ISO  le you downloaded and extracted and click “Ok”.

Step 5:

Now we will add two network adapters in our Virtual Machine. The rst
adapter will be for WAN(Internet) and the other for LAN(Local Network). Click

https://samuraihacks.com/install-pfsense-in-virtualbox/ 5/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

the newsletter
Join our “Network” tab in the
today forleft panelEnter
free. of settings window and select
your Email “Bridged
Subscribe Now
Adapter” in “Attached to” drop-down menu and make sure rest of the
settings are same as the image below.

Now hit the “Adapter 2” button at the top and select “Internal Network” in
the “Attached to” drop-down menu. Make sure rest of the settings are same
as in the image below.

https://samuraihacks.com/install-pfsense-in-virtualbox/ 6/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Join our newsletter today for free. Enter your Email Subscribe Now

Step 6:

In this step, we will start our Virtual Machine and install pfsense on the hard
disk. Start your Virtual Machine pfsense will start booting and you will get to
the menu as displayed in the image below just hit enter and pfsense will
boot.

https://samuraihacks.com/install-pfsense-in-virtualbox/ 7/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Join ourNow we will install


newsletter todaypfSense
for free.to the virtual
Enter yourhard
Emaildisk. Enter Subscribe
“99” in theNow
terminal and the installation will begin.

Just select the default settings and click “Accept these settings”.

Select “Quick/Easy Install” in the next menu and hit enter.

https://samuraihacks.com/install-pfsense-in-virtualbox/ 8/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Join our newsletter today for free. Enter your Email Subscribe Now

Click “Ok” in the con rmation menu.

https://samuraihacks.com/install-pfsense-in-virtualbox/ 9/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Join our newsletter today for free. Enter your Email Subscribe Now

Select “Standard Kernel” and hit enter.

https://samuraihacks.com/install-pfsense-in-virtualbox/ 10/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Join our newsletter today for free. Enter your Email Subscribe Now

After this, the setup will complete the installation and select the reboot
button in the next menu. Now you can remove the Virtual Optical Drive from
the “Settings” menu of the Virtual Manager.

Step 7:

In this step, we will set up the IP address for the default gateway and
con gure DHCP server for LAN. Select “Set interface(s) IP address and hit
enter.

https://samuraihacks.com/install-pfsense-in-virtualbox/ 11/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Join our newsletter today for free. Enter your Email Subscribe Now

Select LAN in the Available Interfaces by entering “2” and hit enter. Now you
will be prompted to enter LAN IP address. I will use 10.0.0.1, you can choose
any IP address of your choice. Now it will ask you to enter Subnet bit count,
enter “24” and hit enter.

Now we will skip next two steps just click enter twice, it will skip the two
steps and you will be prompted “Do you want to enable DHCP server on LAN”
type “y” and hit enter.
https://samuraihacks.com/install-pfsense-in-virtualbox/ 12/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Join our newsletter today for free. Enter your Email Subscribe Now

Select the IP range for you LAN, I will be using seven IP address starting at
10.0.0.3 and ending at 10.0.0.10. Now you will be prompted if you want to
revert to HTTP protocol for webCon gurator type “y” and hit enter.

You have successfully installed and con gured pfSense. Now install your
other VMs, go to settings and select “Network” and select Internal Network
in the “Attached to” drop-down menu.  Be Safe Hack Responsibly.

https://samuraihacks.com/install-pfsense-in-virtualbox/ 13/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Post Views: 20,062


Join
our newsletter today for free. Enter your Email Subscribe Now
Share this:

Tweet Share 2  WhatsApp Save  Email  Print

Like this:

Like

Be the first to like this.

How to Setup Virtual A Detailed Guide on Install How to install VirtualBox


Hacking Lab for Pen Testing Kali Linux on VirtualBox Guest Additions in Kali Linux
In “Hacking Tutorials” In “Kali Linux” In “Kali Linux”

samuraihacks

July 6, 2017

Kali Linux

Hacking Lab, Install pfsense, Install pfsense in Virtualbox, pen testing lab, pfsense

Previous post

Next post

SEARCH

https://samuraihacks.com/install-pfsense-in-virtualbox/ 14/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks
Search form
Join our newsletter today for free. Enter your Email Subscribe Now

RECENT POSTS

» How to Setup Virtual Hacking Lab for Pen Testing


» A Detailed Guide on Install Kali Linux on VirtualBox
» How to Install pfSense in VirtualBox
» How to Hack Facebook Using SEToolkit
» Latest Ransomware “GoldenEye” Attack hits Europe

RECENT COMMENTS

» Mulabar on Man-in-the-Middle attack from Android

CATEGORIES

» Android (4)
» Hacking News (2)
» Hacking Tutorials (2)
» Kali Linux (5)
» Uncategorized (1)

https://samuraihacks.com/install-pfsense-in-virtualbox/ 15/16
6/18/2019 How to Install pfSense in VirtualBox • Samurai Hacks

Join our newsletter today for free. Enter your Email Subscribe Now

SUBSCRIBE TO BLOG VIA EMAIL

Enter your email address to subscribe to this blog and receive noti cations of new posts by
email.
Join 6,311 other subscribers

Email Address

Subscribe

FOLLOW US AT

Samurai Hacks
139 likes

Like Page Learn More

Be the first of your friends to like this

© 2019 SAMURAI HACKS UP ↑

https://samuraihacks.com/install-pfsense-in-virtualbox/ 16/16

You might also like