Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Tutorials and FAQs
»
Why on VM? / Virtual installation vs. Hard disk
« previous
next »
Print
Pages: [
1
]
Author
Topic: Why on VM? / Virtual installation vs. Hard disk (Read 2107 times)
Ragger
Newbie
Posts: 1
Karma: 0
Why on VM? / Virtual installation vs. Hard disk
«
on:
June 07, 2023, 02:49:34 pm »
Dear forum,
I am as new to OPNsense, as I am to Firewalls in general. (Relatively new to computers as well...).
So recherching the "modus operandi" of installation I saw many tutorials on how to install OPNsense on a virtualbox. I have allready understood how to do this, but I dont understand:
Why would I install OPNsense on VM, rather than right on the device itselfe?
Logged
tiermutter
Hero Member
Posts: 1095
Karma: 61
Re: Why on VM? / Virtual installation vs. Hard disk
«
Reply #1 on:
June 07, 2023, 03:13:08 pm »
Some people simply like using one host machine doing multiple jobs to lower costs of hardware and operation... And some people like me are using VM for testing. However, it is also possible running OPNsense in VM on remote machines eg in data centers without deploying extra hardware.
Logged
i am not an expert... just trying to help...
Patrick M. Hausen
Hero Member
Posts: 6797
Karma: 571
Re: Why on VM? / Virtual installation vs. Hard disk
«
Reply #2 on:
June 07, 2023, 03:18:28 pm »
Note that most people doing that to keep hardware cost and energy consumption lower rarely use VirtualBox for the task. VirtualBox is a desktop hypervisor and not really suitable for production operation of VMs. Frequently ESXi or Proxmox are used.
A development environment OTOH is a completely different matter and running in VirtualBox while editing locally in your preferred IDE is probably the most convenient way to do this.
You might want to try my development environment. Even if you do not intend to code you can give OPNsense a spin on your desktop without installing on dedicated hardware.
https://github.com/punktDe/vagrant-opnsense
Kind regards,
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
bartjsmit
Hero Member
Posts: 2014
Karma: 194
Re: Why on VM? / Virtual installation vs. Hard disk
«
Reply #3 on:
June 07, 2023, 05:15:07 pm »
My reasons are portability and roll-back.
FreeBSD is picky about network cards but when it is in a VM, I can give it a standard NIC, down to the Intel E1000 as a lowest common denominator if need be. The same goes for storage controllers. In general, the hypervisor supports the guest OS, so I am sure of compatibility.
Before every update, I take a snapshot of the VM and if anything breaks, I go back to the snapshot.
I can also vary the CPU cores and RAM amount more easily.
Bart...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Tutorials and FAQs
»
Why on VM? / Virtual installation vs. Hard disk