Setting Up PFSense in VirtualBox!

Поділитися
Вставка
  • Опубліковано 12 лип 2024
  • VirtualBox is a great tool for home labs. Here is how you install pfsense in virtualbox, add interface, change network. Thanks for watching
    Check out the merchandise!
    redbluelabs.myspreadshop.ca/
    0:00-0:23 Intro
    0:23-0:49 Download ISO
    0:50-3:53 Setting up VirtualBox
    3:54-6:09 Install PFSense
    6:10-8:29 Configure Network
    8:30-9:44 Add Machine to LAN
  • Наука та технологія

КОМЕНТАРІ • 107

  • @Melted-Ether
    @Melted-Ether Рік тому +6

    Time stamps, clear step by step instruction, up to date versions...keep it clean cut like this and you will have exponential growth. Thank you

    • @RedBlueLabs
      @RedBlueLabs  Рік тому +1

      Thanks, I really appreciate hearing that!

  • @MykhailoKadenko
    @MykhailoKadenko Рік тому +3

    spent so much time trying every possible tutorial, and this happened to be the only one that made sense, and worked -> because it didnt leave any space for 'mysteries' )) Thanks a bunch man!

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      I'm really happy to hear that! Thx for watching :)

  • @OoxGuru
    @OoxGuru Місяць тому

    Among the thousands of tutorials I've watched this one is the best one. thanks mate

    • @RedBlueLabs
      @RedBlueLabs  Місяць тому

      Thanks! I appreciate that. Thanks for watching:)

  • @singechamberlain2967
    @singechamberlain2967 Рік тому

    Fabulous - really clear and to the point.

  • @djmojo21
    @djmojo21 Рік тому +1

    Great succinct tutorial. SUBSCRIBED! Cheers, mate.

  • @gerrianneroberts1165
    @gerrianneroberts1165 2 місяці тому

    Thank you so much for the tutorial! 💯

  • @St1mi
    @St1mi 7 місяців тому

    YOU RULE, thank you so much for the clear instructions, step-by-step guide with visuals and just overall help with this. Thank you so much! You're kinda helping me out here more than my teacher is ope,,

    • @RedBlueLabs
      @RedBlueLabs  7 місяців тому

      I'm glad this video was able to help! What are some other video ideas that would help!

  • @sampage5099
    @sampage5099 3 місяці тому

    Excellent video, clear and concise explanation.

    • @RedBlueLabs
      @RedBlueLabs  3 місяці тому

      Glad it helped! Thx for watching:)

  • @mateusz2541
    @mateusz2541 Рік тому

    Greetz from Poland!!! You helped me a lot with this video - just started building lab for hacking and stucked in one thing with pfsense. Thank you.

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      I'm glad it was helpful! Are there other videos that would be helpful? Any homelab vid ideas that you would enjoy seeing? Thanks for watching!!

  • @abderrahimdjatit9775
    @abderrahimdjatit9775 Рік тому

    u is THE MAN bro u saved me from being dropped from uni and with this video i graduated with the honnors so big up for u

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      Hey! I'm glad it helped! Thanks for watching :)

  • @ericapelz260
    @ericapelz260 Рік тому

    Thanks, just what I needed so I can learn pfSense before taking down my Untangle/NG/Arista.

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      I'm glad it helped ! thanks for watching :)

  • @marcosalmendariz9197
    @marcosalmendariz9197 Місяць тому

    Dude--you rock.

    • @RedBlueLabs
      @RedBlueLabs  Місяць тому +1

      Thanks!! Thanks for watching:)

  • @dolly2985
    @dolly2985 Рік тому +1

    Thanks! This was very easy to follow and I got it to work

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      That's great!! I am glad it worked for you. What other kinds of tutorial videos would you want to see?

    • @dolly2985
      @dolly2985 Рік тому

      @@RedBlueLabs if you haven’t done them then videos about cybersecurity projects to do would be nice! I’m trying to beef up my resume by including some projects in there. Or maybe some other virtual machine related videos since I’m planning on practicing, getting familiar with software, and working on my skills using VM.

    • @RedBlueLabs
      @RedBlueLabs  Рік тому +1

      @@dolly2985 I have talked with a number of IT managers and a most will say they want to hear about people's home labs. The nice thing about vms, is that you can actually make whatever home lab you want. Is it practicing networking then PFsense is a great tool for that. Thanks for the video idea!!

  • @krisfrost75
    @krisfrost75 Рік тому

    Awesome :) thanks a lot

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      You're welcome! Thanks for watching

  • @SEijaz
    @SEijaz 11 місяців тому +1

    If we set the Adapter 1 to Bridged Adapter, no WAN IP is assigned to the pfSense VM. The VM cannot ping the host machine either. When trying to ping the host, it responds with ‘No route to host’. Why is it happening so?

  • @willson1646
    @willson1646 Рік тому

    Good video! 👍

  • @YounisKhan970v
    @YounisKhan970v 11 місяців тому

    horayy! thank you so much

    • @RedBlueLabs
      @RedBlueLabs  11 місяців тому +1

      Thanks for watching :)

  • @MagicEye117
    @MagicEye117 Рік тому

    Question. Do i need the DHCP for pfsense on if im trying to connect this to an active directory vm that already has DHCP set up?

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      Greay question! ua-cam.com/video/qLjkc3DA5fw/v-deo.html
      Here is another video that talks about pointing pfsense to a different DNS server, while different then what you are asking the premise is very similar. Inside the settings of pfsense gui we need to point machines from the LAN to the correct DHCP server. Thanks for watching :)

  • @jonjames3437
    @jonjames3437 4 місяці тому

    Hi Andrew - thank you very much for this really clear and helpful tutorial. Quick question if I may. I'd like to setup a 2nd interface on the pfSense so I can do some firewall rule testing in a virtual environment e.g. between a trusted and a guest network. Is there any chance you could explain how that's done? Thanks in advance. Alex (UK).

    • @RedBlueLabs
      @RedBlueLabs  3 місяці тому

      hey great question. I actually have a few FW rules videos on on my channel that could help with that. PFSense is perfect for practicing FW rules because it is a safe environment. A video you may want to consider, only because it deals with FW rules specifically is the video where you connect to a domain computer from a different network. We have to use FW rules in order to make this happen Thanks for watching :)

  • @KendrickVirtuals
    @KendrickVirtuals Рік тому

    Hello! Thanks for this awesome tutorial it worked for me. Just want to ask will this allow me to access the webConfigurator of PfSense? I tried accessing the IP to my browsers but it won't let me access it only says "the site can't be reached". Not sure what I'm doing I'm still a student by the way. learning things out.

    • @RedBlueLabs
      @RedBlueLabs  Рік тому +1

      Thx for watching, when you go through the setup stages in the pfsense it should ask if you want to set up webconfigurator. Typically this is set up on the LAN side.
      Once LAN is all up connect a machine to that network and connect to pfsense gui through the gateway address. In here there is a wizard that you will need to step through.
      Let me know if it gives you any more issues!

  • @Allixria36
    @Allixria36 Рік тому

    Thanks for the video, I am gonna try that right now. P.S. Each time you click your mouse, I hear chunks of its soul getting away! Poor thing! 😂

    • @RedBlueLabs
      @RedBlueLabs  Рік тому +1

      Haha, I guess I am a hard "clicker" it also doesnt help that i put a mic on that side of the desk. Thx for watching the video :)

  • @Ghost_watcher2
    @Ghost_watcher2 7 місяців тому

    Hello and thank you for the video that was useful to me, I had only one question: once pfsense is installed and set to internal network it will protect the other virtual machines automatically connected without having to do other procedures? In my case I connected in my lan pfsense and metasploitable

    • @RedBlueLabs
      @RedBlueLabs  7 місяців тому +1

      Yes, if you have two LANs and they are set to internal then if you put a machine in each LAN they will be totally isolated from each other and only reachable when firewall rules permit it. Thanks for watching:)

  • @MathewPanicker1010
    @MathewPanicker1010 Місяць тому

    How would you go about sharing the lan network with VMs and physical hardware? My system has two physical Ethernet ports

    • @RedBlueLabs
      @RedBlueLabs  Місяць тому

      This is a very good question. Without knowing more, it would depend how you are going to run PFSense. for me I am working on putting pfsense on a physical machine, where the only OS for the desktop is PFSense, this means though that I would have to use two physical adapters to actually use them as networks. I need to do a bit of digging to see if what you are wanting is possible. PFSense is a great option for a free router, that is why I am going to be making a dedicated desktop that is only PFSense. Sorry I couldn't be more help, thanks for watching the video :)

  • @harold12A
    @harold12A Рік тому

    Hi, so does running pfsense in VirtualBox means it's only available within the VM ? Can the host machine reach pfsense web config page? In asking cos I need to create a captive portal on my home wifi.

    • @RedBlueLabs
      @RedBlueLabs  Рік тому +1

      Thanks for your comment. It really depends how you want to accomplish it. A way that I have heard a lot of people do is actually installing pfsense as the primary OS on a computer. Have a couple NICs and have traffic route through this. The benefit of this is that you will have the horse power of a desktop, as opposed to a vm which is reliant on whatever the host machine has. I'm thinking of doing this myself, just haven' found the time to get to it.

  • @perseverance75
    @perseverance75 9 місяців тому

    Hi, thank you for video. I have a problem. I downloaded the pfsense iso file. The file appears on the computer, but when I want to add it to the virtual machine, it does not appear among the options? What could be the reason for this?

    • @RedBlueLabs
      @RedBlueLabs  9 місяців тому +1

      It could be that it is still zipped. Go to your downloads and confirm that it has the extension .iso. let me know if you need some more info I would be happy to help :)

  • @mynameisneb
    @mynameisneb 9 місяців тому

    For some reason I do not get the BIOS option when setting up my pfSense, but thanks to you I now have a pfSense running on my virtual machine.

    • @RedBlueLabs
      @RedBlueLabs  9 місяців тому +1

      I'm glad you got it working! I've made pfsense with bridged as the external IP and it has worked, but I have had more success with NAT.
      To get to the BIOS double check the keyboard interrupts that are available in the drop down options in virtual. Hopefully this helps let me know if I can help out further :)
      Thanks for watching!

  • @phantom48v
    @phantom48v Рік тому

    hey man great video! How do i connect a standalone desktop without virtualbox to the same internal LAN as pfsense VM ?

    • @RedBlueLabs
      @RedBlueLabs  Рік тому +1

      Awesome question. It depends how things are configured. The desktop needs to connect to the machine hosting pfsense vm, the host machine would need at least 2 network interfaces so that traffic can be routed through it. I would think a network switch connecting to a interface on host machine and then have your standalone desktop will connect to that switch. If you have an old computer you could also turn the entire machine into a router which is pretty cool too. I hope this helps :) thanks for watching!

    • @phantom48v
      @phantom48v Рік тому

      @@RedBlueLabs I will look into this great advice thank you!

  • @buibui__
    @buibui__ Рік тому

    For the new LAN IPv4 address, do we determine it by ourself?

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      Yes you do. During the setup phase of the new interface you get to set the gateway, this is where you would choose the IP :)

  • @andrewkinzler5550
    @andrewkinzler5550 Рік тому

    When I connect a computer to act as the WAN I cannot reach the computer on the inside of the VM. Is there something I am not configuring right?

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      thanks for your question. Just to clarify are you using the WAN interface with NAT? Or are you pointing the WAN interface to another machine which will then be doing the routing for you? Depending on which machine is trying to reach an inside network you may want to think about port forwarding as a solution

  • @alexfernandez9290
    @alexfernandez9290 11 місяців тому

    nice and easy

  • @justinheitkamp1051
    @justinheitkamp1051 Рік тому

    i have followed everything step by step but when i try and add the pfsense file into the ide controller my sys says verr not supported F
    the only thing i can think of is my server has an intell cpu not amd but i dont know if that is causing the issue or not HELP PLEASE

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      I will do my best. Without knowing more I will ask a few questions that may get you going. These are some issues I have seen people doing in the past
      Have you unzipped the pfsense download before attaching to the VM?
      Are you running on a VM or installing on the server itself?
      Try downloading the pfsense iso again to make sure your copy is not corrupt somehow.
      Perhaps send the exact error message it is getting and I may be able to help further.
      We will get it!
      Andrew

  • @whatisinthename6114
    @whatisinthename6114 Рік тому

    Great video, but for some reason my wan doesn't automatically come up, neither does it show after I manually assign it. What should I do?

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      Hey! Thanks for watching the video, most often when this happens it is because I forgot to set the first interface as NAT. Make sure that you set NAT as the first (WAN) address and then LAN after that. Hope that helps, let me know if it doesn't :)

  • @stanlee4765
    @stanlee4765 7 місяців тому

    Hi, if I install pfsense on a Virtualbox VM, will the VM running pfsense also protect the host?

    • @RedBlueLabs
      @RedBlueLabs  7 місяців тому

      Thanks for your comment, it depends what you mean by protect. I run pfsense and then have machines running inside the LANs it's great for home lab scenarios

  • @martinez_lifts
    @martinez_lifts Рік тому +1

    So everything seems fine, and my Kali machine is connected to the pfsense, but my Kali machine itself isn't connected to the internet. Why? I cant' browse, I can't get-apt update, none of that

    • @RedBlueLabs
      @RedBlueLabs  Рік тому +1

      this could be something else, I have had situations where Kali doesn't update, and the fix was on how I installed it.
      before you go to far troubleshooting the network. Do you have a different vm that you could put on that network? if you do, put it on that LAN fire it up and see if you get internet. if you do, that is good it means you are having a Kali only problem.
      if it is a Kali problem, the fix I have done is create a brand new kali but during the creation process ensure that I have internet, you want to make sure that you are connected to the rolling-releases correctly.
      These are a couple things to try. let me know if it doesn't and we can keep troubleshooting :)

  • @florenbaron7111
    @florenbaron7111 10 місяців тому

    Do I need two physical NIC cards for using a virtual machine?

    • @RedBlueLabs
      @RedBlueLabs  10 місяців тому

      Hi, no you don't. It all depends on what you are wanting to do with the virtual machine. You could have VM with no NIC if you wanted. For pfsense, it's beneficial to have access to the internet for updating and using the FW features

  • @trippleCS
    @trippleCS Рік тому

    THANK YOUUUUUUUUUUUUUUUUU

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      Im glad it helped! Thanks for watching :)

  • @snixtysnixt
    @snixtysnixt Рік тому +1

    Hey man I’ve got an issue.. After finishing the installation and click reboot it restarts the installation every time. Feel like ripping my hair out not sure what is going on

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      Sorry to hear that. In the settings double check the boot order. Change the boot order so that the hard drive is first. If the "disc" is first every time you boot the vm will check your loaded ISO file.
      Hope this helps! Thanks for watching:)

    • @snixtysnixt
      @snixtysnixt Рік тому

      @@RedBlueLabs hey man I managed to get it sorted thank you! I just needed to remove the virtual disk when i rebooted.

  • @MegaJoGamer
    @MegaJoGamer Рік тому

    can you use this as a physical network?

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      You could actually. I have run this exact same setup on a PC and routed traffic through it

    • @MegaJoGamer
      @MegaJoGamer Рік тому

      @@RedBlueLabs do you have a tutorial for it, I've been trying to use firewall and pfblockerNG for my home network and it doesn't seem to work

  • @dndplus5
    @dndplus5 8 місяців тому

    Update to the .iso download file, you will need to extract after download, the file is compressed, I used 7-zip free version.

    • @RedBlueLabs
      @RedBlueLabs  8 місяців тому

      you are exactly right! thanks for pointing that out

  • @SirFancyPantsMcee
    @SirFancyPantsMcee 8 місяців тому

    I reboot and it just wants to start installing again.

    • @RedBlueLabs
      @RedBlueLabs  8 місяців тому

      Hey, thanks for watching! the thing to check is in the machine settings. Make sure that the Hard drive is set as the first bootable media and not the optical drive. If you leave the optical drive as the first one every time you boot it will check the iso file first which then restarts the installation process. Let me know if this helps!!

  • @Trissandro
    @Trissandro Рік тому

    i am doing this configuration but when I press Reboot, it deletes all the preview configuration. how can I fix that?
    Great video.

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      Hi, Thanks for the comment. Next time you reboot, make sure you have taken "out" the ISO image. Also, I recommend taking regular snapshots so that you can revert to it when you accidentally configure something wrong (it happens to the best of us ;) )
      I hope this helps!! Thanks for watching :)

    • @Trissandro
      @Trissandro Рік тому

      @@RedBlueLabs Many Thanks. I was able to fix it

    • @Trissandro
      @Trissandro Рік тому

      @@RedBlueLabs I have another question, my lan is not able to access the internet, is there any way I can do to fix?

  • @chesshooligan1282
    @chesshooligan1282 10 місяців тому

    I reckon more than a couple of people approaching middle age were wondering what the heck a floppy is.

  • @JendralFakboi
    @JendralFakboi Рік тому

    it doesnt work for win10 virtual machine:(

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      I'm sorry you are experiencing that. I have a win 10 machine that is running in virtual box.
      What version of virtual box are you using?

  • @simranlaicha5163
    @simranlaicha5163 Рік тому

    db<
    What should i do here pls help

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      I would be happy to provide more info. What specifically are you needing help with? :)

  • @andrewchristiansen8311
    @andrewchristiansen8311 Рік тому

    I did all of this, it worked but now how t.f do I use this as a router? I have a wifi card, a dual ethernet card, and onboard ethernet. I want to use this as a router. I plugged my PC into the computer running this VM & it says identifying no internet. I rebooted, added the 3rd network adapter even though you only did 2. I have no clue what I'm doing. You should have showed how to get ACTUAL Machines to connect to pfsense and not some virtual machine I'm not making to test if it works. The virtual machine was to run the virtual router. Not another VM. Why make a half baked video like this?

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      Strong opinions. The purpose of the video is to show pfsense as a virtual machine and other virtual machines connecting to it, this was the purpose of the video. You sound frustrated, I'm sorry you are experiencing this. Working with vms and hardware is tricky, pfsense has some great documentation that will assist you docs.netgate.com/pfsense/en/latest/
      Thanks for watching

  • @patrickarnold4273
    @patrickarnold4273 Місяць тому

    Eaglesd Ewwwwwww lo

    • @RedBlueLabs
      @RedBlueLabs  Місяць тому +1

      I know I know, I'm fan. Thanks for watching despite the Eagles shirt :)

    • @patrickarnold4273
      @patrickarnold4273 29 днів тому

      @@RedBlueLabs Dont worry I am a Giants fan lol

  • @JNET_Reloaded
    @JNET_Reloaded Рік тому

    Can you make a text based tut for this for the networking side of this? as 2 adapterscan be complicated for example bridged vs nat that setting is the most tricky for me to always get right 1st time lol i mean in the vbox network tab itself not pfsense!

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      I have a blog -->apt-secure.ca
      I haven't posted for a bit because I have been focusing on UA-cam. I would be happy to do a text based version as well. It will just take a bit of time. Thanks for watching and also thanks for being a subscriber!!

    • @RedBlueLabs
      @RedBlueLabs  Рік тому

      Quick question, I didn't put any music in this video. Do you like tech training videos with music? I'm on the fence. Thanks :)

  • @tupapa1111
    @tupapa1111 3 місяці тому

    Hello, for some reason it is not working for me, would you mind if i contacted you via e-mail so that you can help me, i have been struggling with this for days

    • @RedBlueLabs
      @RedBlueLabs  3 місяці тому

      A solution that could work for both of us would be if you provide more details about the challenge you are facing in our comments section and I will do my best to answer it for you :)

  • @jaskaranpreetsingh4337
    @jaskaranpreetsingh4337 Рік тому

    I am having a trouble at the time of booting it is showing cpu doesn't support long mode what should i do abou that

    • @RedBlueLabs
      @RedBlueLabs  11 місяців тому

      Sorry for late response l, have you had any luck?