StartEvery page

Installing in a virtual machine

A virtual machine is the easiest way to try panel. Nothing on your network changes, and you can throw it away when you're done. It's also a good way to try an update before you install it on the real thing.

panel runs in a virtual machine the same way it runs on a PC. You start it from the same panel-…-live.iso image, look around, and then install it onto the virtual disk from your browser. See Installing on a generic x86 PC for how that part works.

The image is for 64-bit Intel and AMD only. On a Mac with Apple Silicon, it would have to be emulated, which is too slow to be useful.

What the virtual machine needs

Give it
Processor2 cores, x86-64 (amd64)
Memory2 GB. 4 GB or more if you'll run apps.
Disk16 GB. At least 4 GB.
FirmwareBIOS. UEFI works too, but turn Secure Boot off.
Network cardVirtIO if you can choose. Intel e1000 works too.

Two ways to use it:

  • As a NAS (or an app server). One network card, on your normal network. Add one or two extra virtual disks to use for shares, or to try a mirror.
  • As a router. Two network cards. The first is panel's internet side, on your normal network. The second is panel's home side, on a network that only virtual machines can reach. A second small virtual machine on that network plays a device at home.

Never put a test router's home side on your real network. panel would hand out addresses there, next to your real router, and devices could end up using the wrong one.

Trying it without installing

Start the virtual machine from the ISO and stop there. panel runs from memory, and nothing you change is saved. A band at the top of every page reminds you. Sign in as admin with the password panel. The virtual machine's screen shows the address to open.

To keep it, press Install onto this machine in that band, and choose the virtual disk. Then remove the ISO from the virtual machine's CD drive and restart.

Before you try something big, like switching Router on or an update, take a snapshot. If it goes wrong, go back to it.

Proxmox VE

  1. Upload the ISO to a storage, for example local, under ISO Images.
  2. Press Create VM. On OS, choose the ISO, and Linux as the type.
  3. On System, keep the default firmware (SeaBIOS).
  4. On Disks, give it 16 GB.
  5. On CPU, give it 2 cores. Type host is fastest.
  6. On Memory, give it 2048 MB.
  7. On Network, choose your normal bridge (usually vmbr0) and the model VirtIO.
  8. Finish, and start it. Open the console to see its address.

As a NAS: under Hardware, press Add › Hard Disk for each extra disk. panel finds them on its NAS page.

As a router: first make a bridge with no physical port. Go to the node, then System › Network › Create › Linux Bridge. Leave the ports empty and give it no address, for example vmbr1. Press Apply Configuration. Then, in the virtual machine's Hardware, press Add › Network Device and choose vmbr1. Put the test client's network card on vmbr1 too.

To use panel as a real router in Proxmox later, give vmbr1 a physical port instead. That port then goes to your home's switch.

virt-manager (QEMU and KVM on Linux)

  1. Press Create a new virtual machine, and choose Local install media. Choose the ISO. If it asks for the operating system, pick Debian 12 or Generic Linux.
  2. Give it 2048 MB of memory, 2 CPUs and a 16 GB disk.
  3. On the last step, keep the network Virtual network 'default': NAT. panel gets an address like 192.168.122.x, and you open it from the computer the virtual machine runs on.

To add hardware first, tick Customize configuration before install on the last step.

As a NAS: press Add Hardware › Storage for each extra disk.

As a router: first make a network that only virtual machines are on. Go to Edit › Connection Details › Virtual Networks, and press +. Give it a name, for example panel-lan, and choose the mode Isolated. Turn IPv4 off, or at least turn its DHCP off, so panel is the only one handing out addresses. Then add a second network card to the virtual machine with Add Hardware › Network, on panel-lan. Put the test client on panel-lan too.

If you use plain QEMU from the command line, scripts/router-on-vm.sh does all of this. It's in the source, and it starts panel with two ports and a client on the second one.

VirtualBox

  1. Press New. Choose the ISO, and tick Skip Unattended Installation. The type is Linux, Debian (64-bit).
  2. Give it 2048 MB of memory and 2 CPUs. Leave EFI off.
  3. Give it a 16 GB disk.
  4. Before you start it, open Settings › Network. Set Adapter 1 to Bridged Adapter, on your computer's network cable. Then panel gets an address on your normal network, and you can open it from any computer there.

With NAT instead, panel can reach the internet, but you can't open it without setting up port forwarding. Bridging over Wi-Fi works for a single virtual machine, but a cable is more reliable.

As a NAS: go to Settings › Storage, choose the SATA controller, and add a hard disk for each extra disk.

As a router: set Adapter 2 to Internal Network, with a name like panel-lan. Nothing hands out addresses on an internal network, so panel is the only one. Set the test client's adapter to the same internal network.

Switching Router on

Sign in, choose a new password, and choose Router when panel asks what the machine is for. Pick the second network card as the home network. See Getting started.

You're reaching panel from its internet side, so panel asks whether it should stay reachable from there. For a test, say yes. Otherwise you'll only be able to reach it from the test client.

Then start the test client from any desktop live ISO, for example a Debian or Ubuntu live image. It gets an address from panel, and can open https://panel. Pause it, block it, look at what it's doing on the Network page. Everything works as it would at home.

Good to know

  • Its name. The virtual machine is a new device on your network, with its own hardware address. Your real router hands it an address like any other device.
  • Updates. Take a snapshot, then install the update on the Maintenance page. That's a cheap way to see an update work before your real panel gets it.