How to install pfsense, OpenWRT, TrueNAS on proxmox
Before we look at how to install pfSense on Proxmox, ensure that you have a NIC installed in your Proxmox server as we’ll have to use this to pass it through to our pfSense virtual machine.
[pfSense® software Configuration Recipes — Virtualizing with Proxmox® VE | pfSense Documentation](https://docs.netgate.com/pfsense/en/latest/recipes/virtualize-proxmox-ve.html) |
qm monitor <vmid> connect to vm control monitor
qm start <vmid> start vm
qm reboot <vmid> reboot vm (shutdown, start)
qm shutdown <vmid> gracefully stop vm (send poweroff)
qm stop <vmid> kill vm (immediate stop)
qm reset <vmid> reset vm (stop, start)
qm suspend <vmid> suspend vm
qm resume <vmid> resume vm
qm destroy <vmid> destroy vm (delete all files)
qm cdrom <vmid> [<device>] <path> set cdrom path. <device is ide2 by default>
qm cdrom <vmid> [<device>] eject eject cdrom
qm unlink <vmid> <file> delete unused disk images
qm vncproxy <vmid> <ticket> open vnc proxy
qm list list all virtual machines
When creating the VM:
Set BIOS to OVMF (UEFI) On the first boot, go into the boot settings and disable secure boot:
add the new network card to proxmox usage and use embedded cards to pfsense directly from PCI
pfSense® software Configuration Recipes — Virtualizing with Proxmox® VE - pfSense Documentation
After the virtual machine reboots, the console will stop at an interfaces assignment prompt.
Type
n
and pressEnter
to skip VLAN configurationEnter
vtnet0
for WANEnter
vtnet1
for LANPress
Enter
if prompted for additional interfacesType
y
and pressEnter
to complete the interface assignment
How to reload /etc/network/interfaces in Ubuntu or Debian
In Ubuntu or Debian desktop, Network Manager is the default network configuration tool, whereas Ubuntu server by default uses
/etc/network/interfaces
to configure network interfaces. Of course, even on desktop, you can disable Network Manager, and use/etc/network/interfaces
instead to configure your networking.For those of you who use
/etc/network/interfaces
to configure network interfaces, if you modify/etc/network/interfaces
, you need to reload it so that the new configuration can take effect.
(adsbygoogle = window.adsbygoogle []).push({});
Here is how you can reload /etc/network/interfaces
.
sudo service networking restart
Note: If Network Manager is installed and enabled on your system, you must not use /etc/network/interfaces
to configure networking, and any change made in /etc/network/interfaces
will be ignored by Network Manager. You need to use Network Manager to configure your network interfaces. In that case, after network settings are modified, you can restart Network manager as follows.
sudo service network-manager restart
[Troubleshooting — Troubleshooting Network Connectivity | pfSense Documentation](https://docs.netgate.com/pfsense/en/latest/troubleshooting/connectivity.html) |