Giter VIP home page Giter VIP logo

pfsense's Introduction

Installing Pfsense on VM - Lab

Objective

This lab includes steps for installing pfsense firewall in a VM for leanring and educational purpose .

Skills Learned

  • What is Pfsense
  • Installing pfsesne on VM
  • Setting up pfsense on VM.

What is pfsense ?

PFSense is a software-based firewall solution. It's like a virtual wall that sits between your computer network and the outside world (the internet), controlling the flow of data in and out of your network.

Here's what it does in simple terms:

Security: It helps keep your network safe from unauthorized access and potential threats by filtering incoming and outgoing traffic.

Control: You can set rules and policies to determine what types of data can enter or leave your network. For example, you can block certain websites or restrict access to specific services.

Monitoring: It allows you to keep an eye on what's happening on your network, such as which devices are connected and what they're doing.

Customization: You can tailor the firewall settings to meet the specific needs of your network, whether it's for a home network or a large enterprise.

Overall, PFSense is like a digital bouncer for your network, keeping the good stuff in and the bad stuff out.

Tools Used

  • Pfsense CE edition Free
  • Hypervisor either Vmware or Oracke Virtualbox
  • 7Z file archiver Free

Diagram Reference :

image

Steps

Step -1 Download Orcale Virutal box or Vmware

Oracle Virtual Box
Vmware

Step -2

Download ISO image CE (Free) from pfsense Official website link below https://www.pfsense.org/download/ image

image

Step -3

Download & install 7z free file archiver software Link : https://www.7-zip.org/

Step 4

Extract pfense downloaded file using 7z image

Step 5

Create new virtual machine with these settings . Dont forget to give ISO image location the file you extracted image

Allocate resources as per your system specs. I am allocating 4GB of RAM image

Select min 10GB of harddisk space I have chosen 20GB if you need to intall more packages ! image

Click Finish.

Step 5

Setup Network Interfaces (WAN) Adapter -1 image

Adapter-2 (LAN) image

Adapter-3 (DMZ) image

Step 6

Installing Pfsense Seelct Virtualmachine & Click START image

image

Press Accept : image

Press Enter to install Pfsense: image

Press Enter : image

Press Enter: image

Press Enter : Installing on Single disk image

Pree Space Bar to seelct then Press Enter : image

Use Tab key to select YES then Press Enter : image

Installtion will start will take time so be pateint! image

Once installtion completed will see this screen image

IMPORTANT : to remove ISO file we used fro installtion before REBOOT else process will start again ! image

Click Force unmount option image

Then Press Enter To REBOOT now ! image

Type EXIT to reboot image

Ignore the errors: image

image

image

Step -7 After reboot Pfsense will automatically sense interfaces:

image

DHCP will be enabled as default on LAN interface , Adapter -1 as WAN identifed and other 2 interfaces as DMZ & LAN Default range is shown as well. image

Step 8 Configure Pfsense

To configure Pfsense we need to install other VM you can use Windows Or Linux ISO for this you can search google for win 10 ISO or ubuntu (Pre built images) then downlaod ISO files and install to VM

After Ubuntu installation assign internal network from settings. image

After assigning internal network run ifconfig or ip a from terminal to check if it picked up IP address from pfsense DHCP range like 192.168.XX if its then its setup correctly. image

Try ping the pfsense LAN interface on IP 192.168.1.1 if you see response then its connected & okay . image

From Ubuntu machine Open browser and type in 192.168.1.1 pfsense WAN interface IP : image

Click Acceept the Risk & Continue

image

You will see Pfsense login screen. Username admin & Password pfsenser ( all small) image

image

Click NEXT and hurray you have successfully installed Pfsense on your VM . image

Links & References

pfsense's People

Contributors

syedhnaqvi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.