Run the sensor on Proxmox
Import the PollySec sensor's qcow2 disk with qm on Proxmox VE and pair it with your company.
Reviewed 13 November 2026
All guidesThe PollySec sensor runs as a virtual machine inside your network and scans the network it is connected to. It connects out to PollySec over HTTPS; nothing needs to reach it from outside. You import one disk with qm and pair the sensor with a code: there is no operating system to install and no password to set.
Before you start
- Proxmox VE 8 or later on a 64-bit x86 host, and a root shell on it: the node’s Shell in the Proxmox web interface, or SSH as root.
- Room for the virtual machine: 2 cores, 4 GB of memory and a 16 GB disk.
- A bridge on the network the sensor scans, for example
vmbr0. The sensor takes its address over DHCP; you can set a static address on its console instead. - PollySec open in a browser. You open Add sensor once: it gives you the sensor’s file, stays open while you create the virtual machine, and then pairs the sensor.
Download the sensor
- In PollySec, go to Internal network > Sensors and select Add sensor.
- Choose Proxmox and select Next.
- Select Download. The file is
pollysec-sensor-<version>-proxmox.qcow2. - To check the file, open Verify the download: the SHA-256 there is the file’s.
- To check that the file is PollySec’s, download Checksums and Signature from Verify the download and copy the Signing key into a file named
signing-key.pembeside them. Then runopenssl dgst -sha256 -verify signing-key.pem -signature SHA256SUMS.sig SHA256SUMS, which must printVerified OK, and compare the file’s SHA-256 with its line inSHA256SUMS. The key is shown by PollySec, not served beside the file, so a file someone replaced in transit fails the check. - Select Next and leave Add sensor open while you import the sensor. Its next step shows the commands below, with the file’s name filled in.
Import the sensor
-
Copy the qcow2 file to the Proxmox host, for example with
scpto/root, and check thatsha256sumprints the SHA-256 PollySec showed. -
In the root shell, create and start the virtual machine with a free id, your storage and your bridge. It boots UEFI (OVMF) with Secure Boot off and imports the disk:
qm create 9100 --name pollysec-sensor --ostype l26 \ --bios ovmf --efidisk0 local-lvm:1,efitype=4m,pre-enrolled-keys=0 \ --machine q35 --cpu x86-64-v2-AES --cores 2 --memory 4096 \ --net0 virtio,bridge=vmbr0 \ --virtio0 local-lvm:0,import-from=/root/pollysec-sensor-<version>-proxmox.qcow2 \ --boot order=virtio0 qm start 9100 -
Open the virtual machine’s Console in the Proxmox web interface. After a minute it shows a pairing code, its IP address and its MAC address. You can then delete the qcow2 file: the virtual machine has its own copy.
If the console shows Access Denied, stop the virtual machine, replace its EFI disk with qm set 9100 --delete efidisk0 --force 1 and qm set 9100 --efidisk0 local-lvm:1,efitype=4m,pre-enrolled-keys=0, and start it again.
Pair the sensor
- Back in Add sensor, select Next until it asks for the pairing code. If you closed it, select Add sensor again and choose your platform. Under Pairing code, enter the code the sensor’s console shows, then select Next.
- Compare the MAC address and Local IP address with the sensor’s console. If they match, select Yes, this is my sensor. If they do not, select This is not my sensor.
- Under Name, give the sensor a name, or leave it empty to name it after its serial number, then select Add sensor.
- Wait while the sensor connects, usually under a minute. Add sensor goes on by itself.
- The sensor’s console now shows
CONFIRM THIS SENSOR in PollySec with code XXX-XXX. Enter those six letters under Confirmation code and select Confirm sensor. - Choose the network the sensor should scan and select Next. If that network is new to PollySec, choose what is on it and select Next again. If PollySec has no network to propose, Add sensor says why: finish it and add the network under Networks later.
- Check the summary and select Start scanning. Nothing is scanned before that. Not now adds the sensor without scanning, and you attach it to a network under Networks later.
Note
The sensor keeps its identity when its virtual machine moves to another host. Run each paired sensor once, and leave it out of checkpoints, snapshots and backup jobs: a copy is the same sensor, and an older copy starts from older state. For another sensor, create a new virtual machine from the sensor’s file and pair it.