How to Virtualize Your Home Router / Firewall Using pfSense

Sdílet
Vložit
  • čas přidán 29. 06. 2024
  • It's time to say goodbye to your home router and start virtualizing it using Proxmox and pfSense.
    Video Notes: technotim.live/posts/proxmox-...
    pfSense Community Edition Download: www.pfsense.org/download/
    Get started with Proxmox today: • Proxmox VE Install and...
    Support me on Patreon: / technotim
    Sponsor me on GitHub: github.com/sponsors/timothyst...
    Subscribe on Twitch: / technotim
    Become a CZcams member: / @technotim
    Merch Shop 🛍️: l.technotim.live/shop
    Gear Recommendations: l.technotim.live/gear
    Get Help in Our Discord Community: l.technotim.live/discord
    2nd channel: / @technotimtalks
    00:00 - Intro
    00:20 - Why
    01:40 - The Required Network Card
    02:04 - Hardware Install
    02:22 - Software Install
    02:40 - Proxmox Config
    04:55 - Install pfSense
    08:33 - pfSense First Start & Config
    09:56 - pfSense Tour
    12:53 - Package Manager
    13:39 - Conclusion
    (Affiliate links may be included in this description. I may receive a small commission at no cost to you.)
    📦 Products in this Video 📦
    10gtek Dual Gigabit Nic amzn.to/3f3SleV
    Intel Dual Gigabit NIC amzn.to/2B12Z7L
    HP Dual Gigabit NIC amzn.to/3gjgKyFTechno Tim Kits:
    ► 4K CZcams Kit - kit.co/TechnoTim/4k-youtube-kit
    ► Pro Level Live Streaming Kit - kit.co/TechnoTim/pro-level-li...
    ► Budget Gaming Streaming PC 2020- kit.co/TechnoTim/budget-gamin...
    ► Performance Virtualization Server- kit.co/TechnoTim/performance-...
    ► Budget NAS Server- kit.co/TechnoTim/budget-nas-s...
    ► Coding & Gaming Keyboards- kit.co/TechnoTim/coding-gamin...
    ► Coding & Gaming Mice- kit.co/TechnoTim/coding-gamin...
    ⏯ Recommended Videos ⏯
    ► 20 Ways to Use a Virtual Machine (and other ideas for your homelab) • 20 Ways to Use a Virtu...
    ► Remote Gaming with Promox • Remote Gaming! (and Vi...
    ► Let's Build a Discord Bot Using DiscordJS - Moderator Bot • Let's Build a Discord ...
    #Proxmox #Homelab #pfSense #Virtualization#TechnoTim
    Description Tags: Techno Tim, technotim, vm, proxmox, homelabs, hyperv, hypervisor, install pfsense community eidtion, pfsense setup, nic passthrough, router, firewall, secure, firewall, router, homelab ideas, virtual machine ideas, kvm
    Thank you for watching!
  • Věda a technologie

Komentáře • 573

  • @TechnoTim
    @TechnoTim  Před 4 lety +42

    Which firewall / router are you running at home? If you can't remember, maybe it's time to SWITCH ;)
    By the way, if you're new here, welcome! Please remember to ✨subscribe✨ for more content like this!

    • @--ic0n-1-
      @--ic0n-1- Před 4 lety +4

      Used Pfsense since 3 years back inside of a proxmox machine at home. Coupled together are a XCP-NG machine running Pfsense at my parents house with IPsec tunneling. (150km) Getting 250/250mbit sym bandwith between the two places. :)

    • @TechnoTim
      @TechnoTim  Před 4 lety +1

      Nice! That's awesome you have a hypervisor at your parents house! Why did you choose XCP-NG over proxmox?

    • @--ic0n-1-
      @--ic0n-1- Před 4 lety +1

      @@TechnoTim I think both are realy good products. XCP-ng do have a easier time to bind a swarm of servers in my opinion. And i do like the disaster recovery, XenMotion, True backup system compare to tar.gz of proxmox. But as i said. You can't go wrong with either.

    • @AinzOoalG0wn
      @AinzOoalG0wn Před 4 lety

      just a question, but is it safe to use qnap nas virtual station for pfsense vm? compared to using say a nuc install ubuntu? then install proxmox? then install pfsense freebsd as a vm using that proxmox?
      no portforwarding being done, just merely using as an edge router firewall.

    • @TheoParis
      @TheoParis Před 3 lety

      XD

  • @amosgiture
    @amosgiture Před 3 lety +87

    Always log on with the new account before disabling the old account.

  • @sebastiaanstoffels7565
    @sebastiaanstoffels7565 Před 3 lety +53

    I have an identical setup. One thing to consider depending on how many cores you have on the host, is to make the CPU type 'host' and pass through 1 or 2 physical cores. This should ( depending on your CPU ) enable the AES-NI CPU crypto which can be useful if you use OpenVPN and want faster throughput over encrypted connections. Awesome guides by the way, I wish these vids were around years ago!

  • @alejandrodpf
    @alejandrodpf Před 4 lety +52

    Incredible quality, easy to understand, as always fantastic! Thanks for your videos Tim, keep doing them please.

  • @valeriomec214
    @valeriomec214 Před 2 lety +2

    Tim, your videos are invaluable. Thanks for the amazing work, you TRULY deserve like 1 MLN subscribers already.

  • @rbrjoel
    @rbrjoel Před 3 lety +4

    Seriously the most helpful tutorials on CZcams, thank you!

  • @GhostZodick
    @GhostZodick Před 4 lety +3

    I went through the same research journey around the same time. I also seriously thought about putting pfSense on virtual machine. Eventually I decided to purchase a dedicated hardware for pfSense because of all the reasons people talked about on the internet. I probably would try to visualize it if I saw your video earlier. Now my whole set up is already completed, and it's very stable. I don't want to mess with it.

  • @matthewwren2877
    @matthewwren2877 Před 2 lety +6

    Such a great idea for those tech heads that want to do something more than what those basic modem routers.. Just a note for those with different NBN connections that you may still need the netgear/gateway/modem from your ISP but simply put it into bridge mode then pass that to the WAN interface as per TechnoTim's guide!! (suit most Australian NBN type of setups) As I am and Aussie viewer also!!!

  • @kodemasterx
    @kodemasterx Před rokem +1

    Even though I have a PCI network card with two ports, adding them as PCI cards in Proxmox did not work for but instead as NICs, the rest was flawless, thanks for the video man, I dropped a sub as well.

  • @nixxblikka
    @nixxblikka Před 4 lety +1

    I really enjoy watching these videos, it is your relaxed way to present the topics and nice background music ! Keep up the great work

  • @Cleanser23
    @Cleanser23 Před 3 lety +1

    just fantastic. I have been prepping my own home server and was sweating because I wasn't sure what to do to isolate it from the network.
    "Is it safe to host?"
    "whats pfsense even do"
    "should i buy dedicated hardware"
    "where WAS that lasagna!?!"
    and this video made it so clear. Thank You

  • @Hazmatguy117
    @Hazmatguy117 Před 2 lety

    Love playing around with Proxmox at home, it really impresses my boss when I talk above his head with tech stuff lol. Thanks!

  • @haydenc2742
    @haydenc2742 Před rokem

    Outstanding!!!! Thank you for this!
    What is cool, is since the host os is debian based, you can install and run netstat which gives MUCH more information about thruput on the nics

  • @Supperconductor
    @Supperconductor Před 4 lety +1

    That took some effort, but I got my NICs on the Dell R710 passed-thru and my network is up! I learned a heckuva lot along the way. Thanks Tim!

    • @TechnoTim
      @TechnoTim  Před 4 lety +1

      Nice work!

    • @Twylight85
      @Twylight85 Před 3 lety

      @supperconductor @techno Tim Hey there. r720 running a pcie intel dual nic as recommend. Proxmox informs me that IOMMU is not present when I attempt to boot the vm. It’s enabled in the bios.... Followed a couple of GPU guides for pass through... what am I missing, guys?

  • @roguestratus8449
    @roguestratus8449 Před rokem +7

    Heyo Tim, you have greatly helped me get into the Homelab scene, and I appreciate it. With that said, you really should consider revisiting this video with a 2022/2023 edition. Reason why I say this is because passing my NIC down to the OPNSense VM in Proxmox (and even Pfsense) straight up did not work. I almost gave up, until I talked to someone that had a workaround: by creating a Linux bridge with the NIC as an alternative way. Passing the NICs down did not work but creating a bridge did. I had other people express their grievance about following your video and having it not work. And from what I heard, when it comes to virtualizing routers/firewalls, passing down NICs is a huge NoNo for this reason. I have no doubt this worked for some people, but I feel like there is a higher chance of success with an updated video by using the create Linux bridge method. Just my 2 cents!

    • @kerrydaniels8460
      @kerrydaniels8460 Před rokem +1

      He recommended the first method likely because it maximizes performance to just pass through, but bridging through a virtual interface works likely as well. His suggestion is ideal when supported. If not, with VM's you can typically emulate a method instead.
      Pass through in general can get finicky for some.

    • @TylerNyland
      @TylerNyland Před 11 měsíci

      I had issues trying to passthrough my 4port NIC card. I ended up unchecking the "all functions box" and that solved my problems.

  • @frankrobinson6615
    @frankrobinson6615 Před 3 lety

    Techno Tim Rocks!!! Awesome content and delivery. Thank you.

  • @dionisierus5055
    @dionisierus5055 Před 3 lety +2

    the production quality of your videos is excellent. Tutorials are short and helpful - no wasted time. Subscribed!

  • @huplim
    @huplim Před 4 lety +1

    Great stuff Tim. Subscribed!!!

  • @JamesMartin2014
    @JamesMartin2014 Před 3 lety +20

    Great tutorial. I really like how well you laid out this content. I'm a network engineer and while I knew how to do all of this networking, I wanted to see how you explained it for laymen. Fantastic stuff. I also completely muffed my own proxmox setup, I didn't realize you could pass through NIC's so easily. I made an OVS bridge for the WAN, I don't want to talk about it :( One little change I would make is on the LAN gateway address. While you can always make the gateway whatever IP you want on the subnet, I really like to keep it to either the first address in the subnet, or the last address in the subnet. Remembering a random address is difficult years down the line and if you ever need to add a statically configured network device, its easier to remember first address or last address. Anyway, just my $0.02.

    • @TechnoTim
      @TechnoTim  Před 3 lety +2

      Thank you so much!

    • @Nur__
      @Nur__ Před rokem

      Makes a lot of sense

  • @OMGTheCloud
    @OMGTheCloud Před 3 lety

    Nice! I’m a big pfSense advocate. Subscribed!

  • @peterhast
    @peterhast Před rokem

    Thank you for doing this, and the education, I appreciate it, it worked great.

  • @odirienduranceejitagha9499

    I had no idea before now I Know, Thanks for your video.

  • @mesteme
    @mesteme Před rokem

    This was so helpful, thank you

  • @LawrenceSingha
    @LawrenceSingha Před 3 lety

    No. 600 - excellent video and now you given me an excuse to do what you done VM of pfsense 👍🏼

  • @alexzendermarunsai
    @alexzendermarunsai Před 4 lety +1

    I guess it's time to smash my buggy tplink router and say hello to virtual router. Cool tutorial as always. Keep it up man 👍

  • @JuanLopez-db4cc
    @JuanLopez-db4cc Před 4 lety +2

    Thanks for this Video.

    • @TechnoTim
      @TechnoTim  Před 4 lety

      You are most welcome! Thank you for watching and commenting!

  • @lk-777-me
    @lk-777-me Před 2 lety

    Thank you for this video! Regarding CPU settings. To have AES-NI CPU Crypto: Yes, I selected Type: host (if the host CPU supports AES-NI, of course). And adding PCI nics (in my case Intel) didn't work with "All Functions" enabled. Maybe it doesn't work with this particular board. So I cleared this box.

  • @lakshaynz
    @lakshaynz Před 2 lety

    This is the best guide

  • @ViktorWingqvist
    @ViktorWingqvist Před 2 lety +1

    Great stuff!!
    Any chance you could do a video on how to create an AP too using the integrated wifi adapter many repurposed homelab computers have? :)

  • @jelteswinnen6865
    @jelteswinnen6865 Před 3 lety

    I like your videos!! Very good youtuber!

  • @bousbouss
    @bousbouss Před 3 lety +2

    Perhaps good thing to mention in a comment is that you need IOMMU enabled. I went and watched your "before I do anything" video and you explained it great there. Quick reference would be nice because I got stuck when I wanted to start the VM.

    • @bousbouss
      @bousbouss Před 3 lety +3

      ​@Régis Loyauté The fact I didnt know kind of hightlights the absence of common knowledgde. These videos arent made for veterans of virtualisation as far as I'm aware.

    • @jothain
      @jothain Před 3 měsíci

      This something worth noting indeed. I personally ran into lack of IOMMU on one older hardware. Let's be real. There's a lot of vids that recommend turning old device into Proxmox server and in certain situations user will severly get hampered with lack of its support. I was looking into sharing gpu to vm and ran into lack of IOMMU hardware support.

  • @digbijaypaul8474
    @digbijaypaul8474 Před 2 lety

    Like the explanation.

  • @reubenf1367
    @reubenf1367 Před rokem +2

    Hi Tim fantastic video!
    I'm just getting started with Proxmox but so far I am digging it, I want to set up a virtual PFsense instance but not to act as my real firewall in my office, I just want to be able to join other VM’s within Proxmox to the LAN network that PFsense is creating.
    That way I could test VPN solutions like Wireguard, Zerotier and Open VPN from one VM to another that are on different networks.
    My Proxmox box does have 2 NICS, actually 3, what would be the best way to go about this?
    I feel like I can basically follow your tutorial except for on the LAN NIC for PF sense I don't need to connect it to a switch I just need it to broadcast to the other VMS in Proxmox, just not quite sure how to do that.
    Thanks !

  • @YannMetalhead
    @YannMetalhead Před měsícem

    Good video!

  • @vfxfan9589
    @vfxfan9589 Před 4 lety

    Wow great, please more pfSense tutorials!

    • @TechnoTim
      @TechnoTim  Před 4 lety +1

      I have quite a few tutorials, more to come! Check out the rest of my videos!

    • @vfxfan9589
      @vfxfan9589 Před 4 lety

      @@TechnoTim Thanks!

  • @sontechno1
    @sontechno1 Před 3 lety

    Thank you for your video

  • @NM-vw6xq
    @NM-vw6xq Před 3 lety +2

    Awesome video and tutorial! Thank you Tim! During this lock down, it was a great time to get something like this set up and your video was a huge help.

    • @TechnoTim
      @TechnoTim  Před 3 lety

      N M thank you! Glad it helped!

  • @notsure7874
    @notsure7874 Před 2 lety

    Proxmox is great, and I have a whole lot of virtualized gear, but my router isn't one of them. I tried it, and quickly figured out why a router should be on its own hardware. The first time my power blinked - I was ordering hardware to run pfsense on the next day.

  • @Rsantana380
    @Rsantana380 Před 3 lety

    implementing this today

  • @mehdibelkhayat5088
    @mehdibelkhayat5088 Před 3 lety

    Hi Tim,thanks for your great videos, I m interested to see how you implement vdi infrastructure solution with proxmox and open source tech you prefer to do that

  • @redraider1863
    @redraider1863 Před 3 lety +2

    Thanks for the video! Really clear explanations. Question: in choosing all of your cores under the CPU tab, does that mean that there will no cores available for other VMs? If you have more than one VM, should you divide the cores between them?

    • @TechnoTim
      @TechnoTim  Před 3 lety +3

      I over provision all my vms. Basically give them all available cores that the host has.

    • @TechnoTim
      @TechnoTim  Před 3 lety

      Also, thank you!

    • @redraider1863
      @redraider1863 Před 3 lety

      @@TechnoTim OK, thanks!

  • @oah8465
    @oah8465 Před 3 lety

    fantastic video, however on the pfsense installation guide for PVE it mentions the creation of vmbr1 and vmbr2 and assign them to eth1 and eth2 assuming vmbr0 and eth0 are reserved for managing PVE. So did you that step here?

  • @davidnickel3949
    @davidnickel3949 Před 8 měsíci

    i got further with 8.0 then others version with this guide ty i have an older intel dual 100 nic that i may use as new is not in the cards yet lol.

  • @emoisit
    @emoisit Před 3 měsíci

    Hi Tim. You need to put a space before 'Techno' for the link to the HP Dual Gigabit NIC so the link works.

  • @MrGatya2
    @MrGatya2 Před rokem +1

    This video was awesome. While we are on the subject of virtualizing firewall: Can you add a third NIC to the PFsense VM that is also on the LAN side but its inside the Proxmox virtual environment? What I mean is, for physical devices on the LAN side you would connect it to the LAN physical port (maybe add a switch first), but for the other VMs that live on the same Proxmox host as the Pfsense, it would be a waste to send their traffic out a phisical port then back on the LAN port. Is my assumption correct that all you would have to do is create a new linux bridge in proxmox (vmbr2 maybe) and just add that as a third adapter to pfsense and configure it as LAN. Then from there just add that bridge as an adapter to all your VMs?

  • @user-gd9nd2br9o
    @user-gd9nd2br9o Před 4 měsíci

    two things....why did you add pci device and not network device card as i've seen in all other similar vids?....secondly, as feedback - thanks for posting. apart from knowledgeable and simple to follow, it's calm and easy to listen to...

  • @francescocatrambone166

    Very helpful video, thanks! I have a question though if you don’t mind! Say i create a linux bridge to the passed-trough LAN port to allow connectivity between my other VMs and the physical switch managed by pfsense. Will the VMs bypass the pfsense firewall? Or will they be routed trough it? Thanks!

  • @rtisma
    @rtisma Před 2 lety

    @Techno Tim Thank you for the great video! I'm just scoping out the work I have a head of me, and want to know, can you access the proxmox UI via web from an IP dealt by the pfsense VM? Ideally i would like proxmox to be accessible from the virtual router, instead of the physically accessing the proxmox service with a keyboard and mouse. So my usecase is simple: access proxmox from my desktop that is connected to my virtual pfsense router.

  • @bearhntr928
    @bearhntr928 Před 7 měsíci

    Great Video - first TechnoTim I have seen. Great job explaining and sharing. I have been using pfSense about 2 years now on an HP t620+ ThinClient with an added 2-port Intel i350-T2 card. Been working great, but I have this awesome Workstation class machine I want to use for ProxMox. I have 8.0.9 installed there, and I am just beginning. I purchased a 4-port i350-T4V2 for this box, and it is working fine. In the t620+ I had disabled the on-board NIC as was not using it.
    I know that ProxMox requires a NIC for accessing the host/dashboard, but can it be one of the 2-ports I will use on the i350-T4? I have a cable from Cable modem to port 0 on the 4-port and cable from port 1 to the Netgear Orbi (wifi AP)...as it has a satellite in the other end of the house where the office is - so that I have Wired (per se) access back there and wifi is stronger. From the Orbi (at the ProxMox box & modem - there is a cable into the on-board NIC of the ProxMox host). If I unplug this, I lose access to the host dashboard.

  • @sophiethecat9256
    @sophiethecat9256 Před 3 lety

    PFsense has gotten so much better looking

  • @LivioHenery
    @LivioHenery Před rokem

    Might be late to the party, followed your video and worked perfectly (thank you) only thing is if I reboot the vm (for pfsense) I don't get a WAN ip back, only way to get it is to reboot the Proxmox server, can't find anything to point me to the correct direction

  • @stuartfulcher5677
    @stuartfulcher5677 Před 2 lety

    Fantastic tutorial @Techno Tim, I just have a question that I am struggling with this setup... Let's say you've dedicated both the PCI LAN/WAN NIC cards to the PfSense VM. Is it still possible/recommended to bridge your proxmox node to the same LAN NIC which is now dedicated directly to the VM? Or will I need a 3rd NIC for the proxmox node as well? I'd prefer to only have a single NIC for LAN and proxmox host for simplicity's sake.

    • @stuartfulcher5677
      @stuartfulcher5677 Před 2 lety +2

      To answer my own question, as soon as I bridged my management network to the LAN nic dedicated to PfSense, I lost control of my hypervisor and had to edit /etc/network/interfaces on the proxmox server itself to revert the changes. I guess I will have to keep a dedicated 3rd NIC for management /clustering purposes for proxmox.

  • @borolo222
    @borolo222 Před 2 lety +1

    Hi Tim, great tut. Had to do some IOMMU separation to get it to work but finally did it and working. Now, I have PFsense running inside vm giving its own network and dhcp to everything comming out through the lan port. So far so good. I want now to place the proxmox host behind pfsense as well and leave the primary modem only passing traffic to pfsense with DMZ. I just need to plug the nic (using proxmox) to the switch but before change de ip address? I'm not sure how to do this.

    • @joanandestin4201
      @joanandestin4201 Před 2 lety

      If Pfsense is running within Proxmox and connect to a modem, isn't promox exposed to the internet. Is it safe to just reroute all the traffic go through Pfsense including the other VM and CT?

  • @maksim4995
    @maksim4995 Před 4 lety

    Thank you very much for so incredible manual! is it correct if I have two inbuilt NIC in my motherboard then in my case will be better use two bridges in Proxmox instead of PCI-passthrough?

    • @TechnoTim
      @TechnoTim  Před 4 lety

      Thank you! I think that should work too!

  • @succubiuseisspin3707
    @succubiuseisspin3707 Před 3 lety +4

    If your CPU supports AES-NI and you like to use it in your pfSense/OPNsense VM for OpenVPN etc. you can change processor type to "host"

    • @TechnoTim
      @TechnoTim  Před 3 lety

      Good call!

    • @tomashrubovcak3770
      @tomashrubovcak3770 Před 3 lety +1

      Basically you always want to use host, unless you want to do a live migration to a different host with a different cpu. Kvm has the bare minimum of cpu flags, host type is always better

    • @succubiuseisspin3707
      @succubiuseisspin3707 Před 3 lety

      @@tomashrubovcak3770 Hm, yeah, sounds reasonable. Any idea why proxmox defaults to KVM ?

    • @tomashrubovcak3770
      @tomashrubovcak3770 Před 3 lety

      @@succubiuseisspin3707 precisely for live vm migration reasons. I learned that the hard way when I couldn't figure out why my tls offloading proxy was so slow on my proxmox vm... Then I dug around and found some official docs covering that.

  • @johnbaker7993
    @johnbaker7993 Před 3 lety

    Just recently found the videos and am enjoying them very much, but, I have a question...
    I think you mentioned this pass-through was done on a R710 (I could be mistaken)? If so, how did you get it to work? There seems to be Dell related laziness keeping an IOMMU/pass-through setup from working properly due to some unpatched Intel screwup.
    I usually just bridge interfaces on VMs when needed, but decided to try this out. Nothing has worked. I have a R610 and R710 here along with dual and quad port Intel Pros.
    Did you end up having to use the "Allow Unsafe Interrupts" option?

    • @TechnoTim
      @TechnoTim  Před 3 lety

      Bridge will work too if you don't want to pass through. I did not have to use Allow Unsafe Interrupts

  • @francoiswilliams565
    @francoiswilliams565 Před 3 lety

    Hi Tim, awesome video.
    I opted for OPNSense.
    I added 2 x NICS to proxmox and struggled getting them in different groups
    This is how I resolved that:
    In proxmox shell...
    >> lspci | grep Ethernet
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8161 (rev 15)
    06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8161 (rev 15)
    >> find /sys/kernel/iommu_groups/ -type l | grep 03
    Showed both nics in group 7
    /sys/kernel/iommu_groups/7/devices/0000:03:00.0
    /sys/kernel/iommu_groups/7/devices/0000:06:00.0
    Edited grub as follows:
    >> nano /etc/default/grub
    GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on pcie_acs_override=downstream,multifunction"
    >> update-grub
    >> shutdown -h now
    and switched the server on again. I could then add the NICs to my VM.
    Noob dilemma. Please help me getting to my VM
    -- Laptop connected via router (192.168.21.1) to proxmox host (192.168.21.10)
    How can I connect to the host as well (or interchangeably) to the OPNSense VM?

    • @TechnoTim
      @TechnoTim  Před 3 lety

      Francois Williams how many nics do you have total?

    • @francoiswilliams565
      @francoiswilliams565 Před 3 lety

      @@TechnoTim 1x Onboard + 2 PCIe cards each with a single port.
      The onboard one I want to use to manage the proxmox server and the other two cards for WAN and LAN.
      Just not sure how to do the above. Thx for replying.

    • @francoiswilliams565
      @francoiswilliams565 Před 3 lety

      Hi Tim
      You mentioned in the video that you manage your proxmox server using your laptop. How do you do that without using a secondary router (i.e. not the opnsense wan interface)?

  • @terminalvelocity4858
    @terminalvelocity4858 Před 10 měsíci +1

    Thank you for this video. I have one “noob”question. Using a physical machine that has 6 network ports, running ProxMox and a pfSense VM...how can I access ProxMox web control panel from my network that is being served by pfSense? Do I just need to ensure ProxMox is on the same subnet as my LAN? Thank you kindly for helping.

  • @nanonerd
    @nanonerd Před 3 lety +1

    Thank you for this video, and for your channel. I do have a question. I have a similar setup as seen in the 2:22 mark of this video (onboard NIC and dual NIC card). My onboard NIC is attached to my switch via a green cable. My WAN port is plugged into my provider's cable modem via a white cable and my LAN port is plugged into my switch via a black cable (BTW, same switch that the onboard NIC is plugged into so that I can go to Proxmox web UI). pfsense seems to be working with this setup, but how do my Proxmox VMs get their Internet? Since the dual NIC card is being passed through to the pfsense VM, and other VM will not see this card. Is there something I need to do in Proxmox or pfsense to bridge the two?

    • @TechnoTim
      @TechnoTim  Před 3 lety

      Make sure you create a network bridge where all your physical and virtual devices can communicate with each other

  • @Dyrud19
    @Dyrud19 Před 4 měsíci

    Hello, nice video ! How do you connect other physical PCs to that virtualized router ?

  • @guya4007
    @guya4007 Před 3 lety +3

    Hi TechnoTim, this was a great tutorial. I followed it almost successfully, all my LAN client are getting IP addresses except for the guest VMs that rely on the vmbr NIC. Did you come across this and if so how did you resolve it? Many thanks

    • @MegaTheDamir
      @MegaTheDamir Před rokem

      @guya4007
      Did you ever solve your issue. I have Exactly the same issue

  • @lelandclayton5462
    @lelandclayton5462 Před 3 lety +5

    don't forget to enable IOMMU. The version of Proxmox 6.1-7 didn't enable it by default.

    • @TechnoTim
      @TechnoTim  Před 3 lety +2

      Good call! Sorry, I already had it enabled from a previous video >.

    • @lelandclayton5462
      @lelandclayton5462 Před 3 lety

      @@TechnoTim yea, took me a good hour to figure get my R410 working correctly with IOMMU.

  • @fmj_556
    @fmj_556 Před 3 lety

    Nice!

  • @idriskautsar757
    @idriskautsar757 Před 3 lety +1

    please make video about openmediavault with proxmox, how the right way we do the config,
    for share storage, and storage for CCTV using FTP/SFTP protocol and others what that openmediavault can do,
    by the way, thanks for explaining clearly, i like a way you explain

  • @anirbandutta1371
    @anirbandutta1371 Před 2 lety +1

    Great Video ...I am new to networking ... If we virtualize the router given by ISP, how would we create a wireless network for this ? ..I suppose the NIC adapter will create only ethernet network ?

    • @TechnoTim
      @TechnoTim  Před 2 lety +1

      Hi! Yup, just connect a router to your LAN/Switch/Ether net and then turn off DHCP and routing. That's what I did! Then your old router just becomes and Access Point!

  • @exjts
    @exjts Před 3 lety

    Hey, great video! Can you speak to theb tradeoffs in virtualizing and running pfSense through proxmox vs pfSense on bare metal? While this seems really cool, I do wonder about the overhead in virtualizing and what benefits I'd gain. The main one I see is in essentially being able to overprovision a server and essentially create "multiple" servers, though with a potential performance hit. Also possibly easier for backup and recovery?
    Also, related to above, would I be able to run a proxmox box with pfSense in 1 vm and e.g. Postgres in another all with 1 nic, or would I need multiple? It seems like I'd need 1 for wan and 1 for lan, plus ANOTHER for Postgres or any other servers. If I can do it all with one, is it even recommended? Feels like a security risk with possible performance issues also, intermingling all that traffic.
    Sorry for the wall of text!

    • @TechnoTim
      @TechnoTim  Před 3 lety +2

      Yes, easier for backup and recovery, also easy to switch out to something else. the downside is the internet goes down while your server reboots, which is rare but still there.

  • @sy5tem
    @sy5tem Před rokem

    a little update for all , you can get a pfsense + home subscrition now so more features for free ! btw great video(all of them that i saw ) mister tim

  • @Billyfelicianojp
    @Billyfelicianojp Před 3 lety +6

    Maybe you should do a video on setting up Vlans on proxmox?

    • @TechnoTim
      @TechnoTim  Před 3 lety

      Thank you!

    • @hamhumtube
      @hamhumtube Před 3 lety +2

      yes in deepth review and tutorial is much needed. i hope he would do it

  • @jakesllama
    @jakesllama Před 4 lety

    Dude thank you that's awesome. Where would you save the ISP account details though? Do you use a switch for extra ports?

    • @TechnoTim
      @TechnoTim  Před 4 lety +2

      Yes I do. My ISP information is a DHCP address on my WAN NIC, nothing to configure there for me.

    • @TechnoTim
      @TechnoTim  Před 4 lety

      Thank you! Also, yes, I do use a switch for extra ports. My LAN NIC goes to my switch.

  • @perfect.stealth
    @perfect.stealth Před 3 lety +2

    Is no one going to mention how much you look like Johnny Depp?
    Never the less, i love your tutorials. Easy to understand.

    • @TechnoTim
      @TechnoTim  Před 3 lety +2

      haha thank you!

    • @OccupyEtcheverry
      @OccupyEtcheverry Před 3 lety

      @@TechnoTim +1 agree with Suleiman. if johnny deep was a sys admin he would be u lol

  • @kuflik
    @kuflik Před 3 lety

    Hi Tim. The guide is nice and clear- but can you make a guide for people that want to utilize current equipment? Like old laptop with proxmox and pfsense (so one nic) and tp-link vlan switch. I tried to made such setup work with this guide combined with some router on a stick but I've failed:)

    • @benp439
      @benp439 Před 3 lety +1

      You may be able to passthrough USB NICs however, reliability will be worse for the same price you can buy a PCIE NIC. If you already have USB 3 Gigabit NICs though, it's probably worth a try.

  • @GopikrishnaS
    @GopikrishnaS Před 3 lety

    @Techno Tim Thank you for your video, I have used this to make a similar setup. But the nodes on the LAN are not able to connect to WAN. They can get IP addresses though. Any tips to fix this? Please let me know. Thanks in advance!

  • @wmhp1
    @wmhp1 Před 2 lety +1

    How does this work with your ubiquity gear (udm-pro)? I’m in a similar situation and just wanted your thoughts.

  • @searchingsome1
    @searchingsome1 Před 3 lety

    Thank you for great video, Tim!
    Do you get good performance on your pfSense running in Proxmox? I get max 50mbps on 100mbps link with Squid and PfBlockerNG running. Have turned off hw checksum offload, played around with amount of RAM & CPU cores, but no luck. Was also running ntopng for a while, but itdecreases performance, so I removed it.
    I am running it on i5-7500 CPU with host CPU type, 4 to 8 gigs of RAM. Mifro form factor Dell PC, one interfaces is usb-to-ethernet. Tried different settings for it, but no luck as well.
    Do you have any ideas what can be the reason for that?

    • @TechnoTim
      @TechnoTim  Před 3 lety +1

      Hey! NP! My perf is normal when virtualized. I’ve heard of people having luck by setting their CPU type to host when virtualizing but I’ve never tried it. LMK!

  • @sanjeewasamaranayake
    @sanjeewasamaranayake Před 4 lety

    Thanks for this great video. It is a good idea to do it from security point of view to have your proxmox server open to internet if you have all other important VMs in promox itself? I had been thinking about this but was bit concerned. I am building a new proxmox server so I am thinking it again. I have unifi USG as my router now but it lacks lot of good feature other than nice graphics

    • @TechnoTim
      @TechnoTim  Před 4 lety

      I don't see any security issues if you are passing the WAN NIC directly though to your network firewall appliance.

  • @qqman9592
    @qqman9592 Před 3 lety +1

    1.proxmox can do hardware accelaration from pfsense through nic ?
    2. there is option to define standard vSwitch in proxmox like vsphere ?

  • @derricklamers4857
    @derricklamers4857 Před 3 lety

    Tim, I love your videos but had a quick question. Do you have failover for your virtualized firewall? I currently have pfSense virtualized on Proxmox but every time I need to reboot Proxmox, I bring down the network.

    • @TechnoTim
      @TechnoTim  Před 3 lety

      Thank you! I do not. That’s one of the cons of virtualizing anything, if you reboot the host the guest goes down.

  • @MrBo3ek
    @MrBo3ek Před 2 lety

    Great tutorial as usuall from you. I have a question about the proxmox location in this infrastructure. Where is it placed in the network. I am running small server with pfsense virtualized but this server I own has only two LAN nics. One is used as a wan port and secon as a privet network. I wonder where and how to address the proxmox... I hope this question makes sense

    • @TechnoTim
      @TechnoTim  Před 2 lety

      It makes sense. Just make the LAN on your virtualized pfsesene virtual and connected to a linux bond. Then connect that linux bond to the NIC and use that for your LAN and proxmox

  • @hzaphry
    @hzaphry Před rokem +1

    Is it possible to utilize pfsense on proxmox using only laptop with one NIC using VLANs. I know you elaborated on these subjects but not in such combination. Thanks for you help

  • @snailprogrammer7483
    @snailprogrammer7483 Před 2 lety

    Found your channel awhile ago but I never had any server stuff. Your stuff is awesome.
    Question about Users, if the new user added to PfSense has the same access as Admin, why create a new user? Is it because hackers will try to use admin as the username to login?

    • @TechnoTim
      @TechnoTim  Před 2 lety

      yeah, I do so that no one knows the default username. I typically do that anytime there is a generic name like "admin" or "administrator"

  •  Před 2 lety

    Tnks for the help, @Techni Tim!
    If anyone get a error like this -> "TASK ERROR: KVM virtualisation configured, but not available. Either disable in VM configuration or enable in BIOS." - Please, follow this steps to solve!
    Bye!

  • @magictbjc7324
    @magictbjc7324 Před 2 lety

    I fully believe this set up works. you are essentially using your proxmox as your network gateway, which is not very secure

    • @TechnoTim
      @TechnoTim  Před 2 lety

      WAN has exclusive access to the NIC

  • @markbifferos2765
    @markbifferos2765 Před 6 měsíci

    Hi TechnoTim, I hope you are able to answer one silly question about this setup: When experimenting with different virtualised router OSes I find the default LAN networks vary from product to product. And I like to just use the defaults most of the time in case changing them gives unexpected problems. This gives me a quandary about where to put my PVE management interface. I prefer to put it on the LAN, but that means it invariably ends up on a network number different from whatever I'm running for a router. So I have no access unless I mess with my network settings on my PC. Then I have to change them back to test out the router behaviour. I just wondered how you manage this problem in your setup, or do you just live with it?

  • @renedokbua8883
    @renedokbua8883 Před 3 lety

    You don't actually have to patch the LAN port through to the Pfsense VM, you can just use the default Proxmox bridge and save a connection to your switch.

    • @TechnoTim
      @TechnoTim  Před 3 lety

      That’s right! You can go this route if you only have one additional NIC

  • @ierosgr
    @ierosgr Před 3 lety +1

    Hi Nice Vid!! At 3.48 you mention that you can pass-through of a 4 nic card only the 1/4 portion of it?? How is that possbile? I am used to Unraid on which you need to exclude the specific pci device you want to pass first and afterwards to give it to the VM.
    Even more difficult if that device is a motherboard controller (usb, nic). Is it possible in Proxmox to pass-through motherboard controllers without braking things? Isn t in Proxmox mandatory the passed through device to be in its own iommu (so iommu capable motherboard needed?)
    Last but not least did you have to put your isp's modem in bridged mode in order for this to work?
    Thank you

    • @TechnoTim
      @TechnoTim  Před 3 lety

      ierosgr you can split up IOMMU groups in Proxmox with config! Not sure about splitting integrated motherboard items. Didn’t have to do anything different for my ISP’s modem. A NIC is a NIC to them.

    • @ierosgr
      @ierosgr Před 3 lety +1

      @@TechnoTim At the start of the video you show up an intel nic which is an external pci device. Afterwards show you passing through a broadcom (so an intergraded one) Which of the two did you pass to Pfsense? Why a nic card differ from a gpu device and you dont have to enter conf files to exclude it from Hypervisor at boot like a gpu?

  • @whylde7834
    @whylde7834 Před 3 lety +1

    Thanks for the video! If dont have a 2 port NIC can I add an additional 1 port NIC to go along with the built in one on my mobo?

    • @hitechfl
      @hitechfl Před 3 lety

      Yes

    • @offlercrocgod
      @offlercrocgod Před 3 lety

      Yes but then your Proxmox server loses it's connection as the VM will take both NICs as soon as it's started.

  • @rkbest9783
    @rkbest9783 Před 2 lety

    Tim, how did you connect the host OS to pfsense once its setup. As you used two ports passtrhough to pfsense (physically from the quad port), the host proxmox should also be on the LAN side. Will that use a physical connection from the pfsense LAN>switch>LAN3 (cable) or something else? Secondly, do you disable firewall option in the natwork setting of proxmox VM?

    • @TechnoTim
      @TechnoTim  Před 2 lety

      The lan should then connect to your switch. As for firewall on vm, yes disable in proxmox

  • @RiggsTek
    @RiggsTek Před 2 lety

    Hi, thanks for the guide!, Really handy. Now, my project is Proxmox + virtual pfsense + virtual OpenMediaVault -- This will be my home server and router in one piece of hardware, at least that's my idea.
    Today and for several years I have my OMV in one machine and pfsense in another, has no sense to me because I never saw that machines raise the top of resources, so I think that maybe my OMV server base hardware could be my Proxmox base. BTW my OMV have no RAID yet because I need more($') for more HDD's. So at the moment they are working on SMB share how stand alone every Storage HDD (9) + 1 nvme Intel 650x 512 or so for OS space and virtual machines. I have two gigabit nic cards so I don't know if I gonna need another card for Proxmox itself, I mean... Proxmox will be connected to my LAN, right? So my VM pfsense have to be alive to assign an IP to Proxmox right? I'm confused at this point :D Thanks in advance. Love your content.

    • @TechnoTim
      @TechnoTim  Před 2 lety +1

      Yes, proxmox will be connected to your LAN in this config

    • @RiggsTek
      @RiggsTek Před 2 lety

      @@TechnoTim Thank you very much for the answer, now is time to start :)

  • @fanshaw
    @fanshaw Před 3 měsíci

    Warning: if something goes wrong with your virtualisation platform, you lose internet access, unless you have a multi-node cluster.
    In line with enterprise convention, I tend to keep critical things (which usually change rarely) separate from non-critical things (which tend to change more frequently). My NAS/virtualisation host changes far more frequently than my firewall, and I want my firewall to be up, even if my NAS is down - in fact, I need my firewall up _especially_ when my virtualisation host is down.

  • @Shane-Singleton
    @Shane-Singleton Před 3 lety

    I think this may have solved a need for me. My home connection kinda sucks. Only 50mbt/5mbt. And during the day i'm lucky if i can hit 20mbt down. So as you can imagine limiting certain devices/users cut of that tiny pie would be helpful. For instance when i'm trying to watch a youtube video and my brother decides he wants to download something off of Steam and hogs the whole pipe. Think I'll put in an AP, connect it to a passed through dual NIC on a VM like done here, and install pfSense. I did something similar a LONG time ago(over 10 years) using a spare wireless router going through a separate box running Untangle but I think i'll revisit now that I have access to much better hardware and software and push all wireless devices through that AP instead of the Linksys WRT3200acm that i'm using now to manage it. (i'm even running the factory firmware on it. which I am ashamed of but when I've tried to install DD-WRT on it in the past it hasn't worked right and kept wanting to reboot endlessly) I think it's finally time to get that Ubiquity AP that i've been promising myself for years that I was going to buy.

  • @farcryf
    @farcryf Před 4 lety

    nice vid

  • @AceBoy2099
    @AceBoy2099 Před rokem

    I'm sure it's been covered (in fact I know of 1 other creator that has) but running Unraid on Proxmox, I followed his skim-through and I can see it in the console but cant connect. Maybe in it elaborate on selecting network interfaces (cards) to split them among the chassis (Proxmox) and vms (PfSense, Unraid, and TrueNAS at least)
    And longshot but if you have a multi-day chassis (like my sc846) how to specify specific bays to certain vms (not specific drives, that way any drive inserted into "bay 20" will be assigned to vm X.

  • @j.r._7416
    @j.r._7416 Před 4 lety +4

    Any chance you could do a video on how to passthrough hard disks to a VM in Proxmox for FreeNAS virtualization?

    • @TechnoTim
      @TechnoTim  Před 4 lety

      If I can somehow acquire more hardware I'd love to!

    • @paranoid945
      @paranoid945 Před 3 lety

      Nfs share will do the job

  • @aquinamedia4508
    @aquinamedia4508 Před 3 lety

    How is the hypervisor acting on the open WAN port? Thinking with regards to open ports, updating etc.

  • @ebiscaia
    @ebiscaia Před 3 lety

    Hi Tim,
    How do you connect your other virtual machine that are inside of the same physical machine you installed pfsense? And do you use a dedicated modem to connect to pfsense?
    Thanks,
    Eduardo

    • @TechnoTim
      @TechnoTim  Před 3 lety +1

      You use a linux bridge (which is basically a switch) that all of your VMs connect to as well as the physical NIC. This way all VMs and physical machines have access to your LAN

  • @HectorDC02
    @HectorDC02 Před 4 lety

    hey man thanks for the video, i have a couple of questions can i use my normal router then connect the virtual router for use the vpn service? or it needs to be directly connected to the ISP provider modem?

    • @TechnoTim
      @TechnoTim  Před 4 lety

      Hi! If you were to do that, you don't need 2 routers, just use your physical router then install OpenVPN in a virtual machine or a Docker container.

  • @DJaquithFL
    @DJaquithFL Před 4 lety +3

    My concern would be latency and in particular erratic latency. My router and gateway are dedicated purpose built hardware. Clearly I'm not undermining your video or intention, just a side note. I play twitch (FPS) games where a stable low latency is king. Great video 👌

    • @TechnoTim
      @TechnoTim  Před 4 lety +2

      Thanks for the comment! My pings are pretty low and consistently low (26 ms to Overwatch servers, 40 ms for Apex).All connections are physical since I am passing through the hardware to the VM and everything else is in memory.

    • @DJaquithFL
      @DJaquithFL Před 4 lety +2

      @@TechnoTim .. It's all the background tasked to the CPU in a VM, I'm not even remotely suggesting it can't or shouldn't be done. Maybe a comparison video 😎👍
      Thanks for the reply and good luck on your channel, interesting videos.

    • @TechnoTim
      @TechnoTim  Před 4 lety

      Thank you for the suggestion!

    • @guywhoknows
      @guywhoknows Před 3 lety +2

      @@DJaquithFL I could answer some of this.
      Most routers will use very lower power and small amounts of RAM, you would in most commercial devices have a 400Mhz CPU and around 128MB Ram. therefore the foot print of this is small on a "VM" providing that the node is not over loaded, modern and typically not slow or performance degraded via other software running on the same hardware.

    • @DJaquithFL
      @DJaquithFL Před 3 lety +1

      @@guywhoknows .. Just my observations .. I have the best experienced when I'm at home alone not sharing our 500/500 Mbps connection even with a QoS.
      FPS gaming is about milliseconds (ms), priority and not losing packets in UDP. Example of 2 people shoot simultaneously: 1. Lost Packets are the same as you not shooting; 2. Latency spikes up even a few milliseconds the server reads as your death, first shot wins.
      Now if you're streaming e.g. Netflix via TCP .. latency spikes, lost packets, buffer bloat, etc are not noticeable and therefore irrelevant.

  • @iceman997799
    @iceman997799 Před 2 lety

    i now can run all my pfsnese on one server having over 10 ips and wanting firewall protection for all was a headache. now with all of them on one machine i can monitor them easier than before. Just a note if running nic that have 4 ports i didn't check the all function it would disable the 4 port to a 2 port for some weird reason.

  • @longb1913
    @longb1913 Před 2 lety +1

    would be helpful if you went through IOMMU and PCI passthrough for those NIC cards to be accessed by the VM

    • @TechnoTim
      @TechnoTim  Před 2 lety +1

      Check out my gpu passthrough video, same process!

    • @longb1913
      @longb1913 Před 2 lety +1

      @@TechnoTim if u blacklist your ethernet cards like with GPU does that mean other VMs don't get internet? this process doesnt seem straightforward and i cant find alot of resources online for NICs

  • @RBoulanouar
    @RBoulanouar Před 2 lety

    Great video. Thanks.
    However the vm needs to be the first to hit the traffic and we need to ensure all Others vm access internet through pfsense. Can you share the iptable rules you have in place to ensure that? Thx