Run OPNSense or pfSense in a VM on a private network in Proxmox

Поділитися
Вставка
  • Опубліковано 7 сер 2024
  • Want to try out OPNSense or pfSense in a safe environment? Here is how you can set up a private network in Proxmox with OPNSense running as the router.
    #homelab
  • Наука та технологія

КОМЕНТАРІ • 15

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

    Thank you so much, I have watched countless videos hoping to find a tutorial for how to set this up isolated to only vms running in proxmox cos I was scared to break my home network and this is exactly what I was looking for. Now I can practice OPN sense on my proxmox vms and once confident enough I can deploy this to my physical home network. Thanks again

    • @SonoranTech-hf5hf
      @SonoranTech-hf5hf  Місяць тому +1

      Glad it helped! I didn't want to mess up my network either. :)

  • @ErikS-
    @ErikS- 2 місяці тому +2

    A video on how to configure opnsense internal to a proxmox environment, was something difficult to find.
    Luckily, you made one 1 month ago😀 Thanks!
    Maybe a question though... In the video, you referred to one bridge as being a "management interface". Maybe you could explain such a config (in a new video)?

  • @SB-qm5wg
    @SB-qm5wg 2 місяці тому +1

    Great video. Exactly what I was looking for. Thank you.

  • @troutouteuse68
    @troutouteuse68 2 дні тому

    How do you have 2 different networks for monitoring and for the opnsense vm ? It is something you created on your router ? Because I can't access internet by creating a second network, I guess I have to add it in my router ?

  • @patrickk.6154
    @patrickk.6154 2 місяці тому +1

    First: Great Video! I have installed it on my Proxmox in the same way. Really great! Have you been able to solve the problem why the opnsense settings always have to be reloaded after rebooting the VM?

    • @SonoranTech-hf5hf
      @SonoranTech-hf5hf  2 місяці тому

      No unfortunately I haven't figured that out yet. I started playing around with putting an opnsense VM as the first device in my network (just behind the cable modem), but got distracted and didn't finish it... was hoping that would solve the problem. Maybe I'll get back to it one of these days.

  • @ChrisDePasqualeNJ
    @ChrisDePasqualeNJ 3 місяці тому +2

    Nice and simple. IN the past I had OPN with 3 nic's running in Proxmox on an HP Elitedesk. Onboard nic was for management for Prox and then I had two USB 1g Nics - one for WAN connected to my secound ISP and one for OPN LAN. I had LAN going to a Firewall running OpenWRT with 3 different wireless networks. Iot, CAM and Stream. And crated three dif vLAN's in OPNsence to hand out DHCP 172.16.6.x 172.16.7.x and 172.16.8.x. All was well. But then I upgraded to Prox 8.1 and tried to use the SDWAN on Prox. I wanted to be able to be able to add dif OPN vLAN's to different VM's Its been a mess and I broke every thing. :-( I'm hoping you may be inspired to make a video on my config. The use case is to keep my IoT stuff segregated from my Cameras with Firewalls and Zenarmor plug-in. Thank you Sir.

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

    Hope you can help me here. I have setup everything exactly as in the video. Couple of things. First my wan interface in opnsense does not get an ip in the cidr block specified in proxmox (192.168.10.*) It still gets ip from my main system. (192.168.1.40). Then the second thing is that the VM that I setup within the same network as opnsense does not get internet access. I have reloaded the opnsense services as suggested but my opnsense still cannot ping my ubuntu desktop vm. The ubuntu vm can ping opnsense gateway.
    Here is just some info on my setup.
    internet --> netgear orbi outer --> netgear switch ---> 2 cables from switch into my proxmox server (1 in management ethernet and 1 into the WAN port for opnsense)
    I have been struggling a lot with this. Please help

    • @SonoranTech-hf5hf
      @SonoranTech-hf5hf  Місяць тому

      On the IP address, proxmox isn't going to give it an IP unless you are running a dhcp server, so it is likely getting the ip from the main dhcp server for your network. To make it easier, you can manually set the IP addresses to avoid any complications with dhcp.

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

      @@SonoranTech-hf5hf Great vid but this had me stuck for a while as well until I realised you had 2x physical NIC's, one for the WAN and one for the Management.

  • @iLeanonsyrup
    @iLeanonsyrup 3 місяці тому +1

    do you work in IT?

    • @SonoranTech-hf5hf
      @SonoranTech-hf5hf  3 місяці тому +2

      Background is in software engineering.. so more writing code than system administration