pfSense

VM Hardware Settings

N/A


Install Guest-Agent

Enter the CLI for the pfSense.

Install the package.

pkg install -y qemu-guest-agent

Modify the rc.conf.local file.

cat > /etc/rc.conf.local << EOF
qemu_guest_agent_enable="YES"
qemu_guest_agent_flags="-d -v -l /var/log/qemu-ga.log"
#virtio_console_load="YES"
EOF

Modify the qemu-agent.sh file.

cat > /usr/local/etc/rc.d/qemu-agent.sh << EOF
#!/bin/sh
sleep 5
service qemu-guest-agent start
EOF

Enable the script file to be executable.

chmod +x /usr/local/etc/rc.d/qemu-agent.sh

Start the service and validate it is running in Proxmox UI.

service qemu-guest-agent start

Configure Network Interfaces

FreeBSD-based approach using devd.

Create a new devd rule.

sudo nano /etc/devd/persist_interfaces.conf

Add the custom rule using vtnet0 as the default starting point.

attach 100 {
    match "device-name" "vtnet0";
    action "/sbin/ifconfig $device-name name vmx0";
};

The vtnet naming convention is only to be used when utilizing the VirtIO (paravirtualized) as the desired vNIC model which is recommended. This rule changes vtnet0 to vmx0. Add additional rules for remaining NICs.


Additional Notes

Disable hardware checksums with Proxmox VE VirtIO.

Navigate to System > Advanced > Networking.

In the Network Interfaces pane, check the “Disable hardware checksum offload” checkbox and click Save.

Reboot the firewall.