The scripts in this repo have been collected and tweaked from various places.
The instructions and scripts have been tested, but there is no guarantee they will work in your situation. Make appropriate backups before using.
As with all scripts you download from the internet, inspect them and kiddy scriptor usus cautela.
If you are using pfSense in Proxmox Virtual Environment (PVE), running this script from the pfSense command line will install the QEMU guest agent and set it to run on boot.
When creating your pfSense virtual machine (VM), set Options > QEMU Guest Agent to enabled
when you create your VM.
If you enable the QEMU Guest Agent while the VM is running, you will need to reboot it.
- Log into the pfSense command line as
root
- Run
curl -LJO https://raw.githubusercontent.com/Weehooey/pfSense-scripts/main/install-qemu-guest-agent.sh
- READ THE DOWNLOADED FILE! You should never blindly run scripts from the internet.
- Make the file executable
chmod +x install-qemu-guest-agent.sh
- Run the installation script
./install-qemu-guest-agent.sh
- You should now see the IP addresses for the interfaces on the VMs summary page (click the More button to see all of them)
- pfSense CE
- 2.5.2
- 2.6.0
- 2.7.0
- 2.7.2
- pfSense Plus
- 23.05
- 23.05.1
Thanks to contributors on this Netgate forum post. You can also find some troubleshooting tips on the same forum post.