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

Поделиться
HTML-код
  • Опубликовано: 29 янв 2025

Комментарии • 28

  • @2008spoonman
    @2008spoonman 18 дней назад +2

    Okay. Another video where the OS for opnsense vm is set to Linux. But opnsense is based on BSD. Therefore I always set the OS to “other”. Maybe it doesn’t make much difference when it is running.
    And I read somewhere that it is pronounced “opensense” as in not closed 😊👍🏼

  • @BACKSPIN9ball
    @BACKSPIN9ball 7 месяцев назад +3

    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  7 месяцев назад +1

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

  • @ErikS-
    @ErikS- 8 месяцев назад +3

    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)?

    • @accidentalmeme5327
      @accidentalmeme5327 5 месяцев назад

      When you create a bridge, you are telling the Host Interface to pass along all the device on the bridge. This means you can directly connect to the VM from the Host Network. It also means that your VMs and Proxmox share a subnet. You might want to create a Management interface if your VMs need to be on a different subnet from your Host or if you want your Management bridge to use a different interface (different NIC or even a virtual interface like a VPN).

  • @thestig987654321
    @thestig987654321 Месяц назад

    Thanks so much. I am playing around with pxe boot and my home router has no configurable dhcp options. This lets me fuck around and indeed find out.

  • @SB-qm5wg
    @SB-qm5wg 8 месяцев назад +1

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

  • @markusmcgee
    @markusmcgee 2 месяца назад +1

    Quick question. Can the 172.16.*.* network see the Proxmox Gateway meaning 192.x.x.x from the diagram shown?

  • @ronald0122
    @ronald0122 4 месяца назад +1

    what do you prefer? opnsense or pfsense?

    • @SonoranTech-hf5hf
      @SonoranTech-hf5hf  4 месяца назад

      opnsense.. but for a lame reason, I like the UI better. lawrence systems did a good video on the why he likes pfsense better and he goes into how they support the community, etc... might be worth checking out.

  • @apichaichantasirivet9877
    @apichaichantasirivet9877 2 месяца назад

    Hi, Need to help i can not install Opnsense it’s showing message when installing that incomplete “ Starting web gui ... enter full pathname of shell or return for /bin/sh “

  • @patrickk.6154
    @patrickk.6154 8 месяцев назад +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  8 месяцев назад

      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.

  • @thestig987654321
    @thestig987654321 Месяц назад +1

    Has anyone found a solution for the constant need for refreshing the services on opnsense. It looks like every time a vm makes a connection I have to restart services to make the system work.

    • @SonoranTech-hf5hf
      @SonoranTech-hf5hf  29 дней назад

      I have not, but I honestly haven't looked back at it in a while.

  • @troutouteuse68
    @troutouteuse68 5 месяцев назад

    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 ?

  • @ChrisDePasqualeNJ
    @ChrisDePasqualeNJ 9 месяцев назад +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.

  • @mnatan78
    @mnatan78 4 месяца назад +1

    Thank you for the great tutorial, I am still stuck on opnsense can't ping the ubuntu (vise versa works), I set the ubuntu to manual to 192.168.1.2 and reload all services

    • @SonoranTech-hf5hf
      @SonoranTech-hf5hf  4 месяца назад

      What is the ip of the opnsense machine?

    • @mnatan78
      @mnatan78 4 месяца назад

      I followed your tutorial step by step, I changed my Lan to 172.16.1.1/16

  • @marinuspretorius8230
    @marinuspretorius8230 7 месяцев назад +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  7 месяцев назад +1

      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 7 месяцев назад

      @@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 9 месяцев назад +1

    do you work in IT?

    • @SonoranTech-hf5hf
      @SonoranTech-hf5hf  9 месяцев назад +2

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