- Part 1 (Introduction, OVH configuration.)
- Part 2 (Configuring Proxmox. You’re here!)
- Part 3 (Installing pfSense.)
- Part 4 (Configuring pfSense.)
Now, we’ll need to install Proxmox on the server. I won’t cover the basic installation in this post, but I am using Proxmox VE 5, which is available as a template during installation with OVH’s wizard.
Securing Proxmox’s web interface⌗
Once you have installed your hypervisor and logged in, I recommend taking a couple of extra steps to improve security, because the web interface is public facing:
- Set up your own administrative user and disable the default one.
- Set up two-factor authentication. I followed this guide.
- Get a valid SSL certificate. I followed
to get a certificate from Let’s Encrypt using
acme.sh(but the steps using
certbotlook good, too).
- Disable password authentication over SSH and use key authentication instead.
Disabling the enterprise APT repository⌗
Unless you have a Proxmox subscription,
apt will fail with an exit code of 100.
This is because it is trying to read from the subscription-only enterprise APT
Comment out the only line in
Adding the “no subscription” repository to
/etc/apt/sources.list means you will
still receive Proxmox updates:
# Please note that the APT repositories in this sample file use the UK Debian # mirror deb http://ftp.uk.debian.org/debian bullseye main contrib deb http://ftp.uk.debian.org/debian bullseye-updates main contrib # security updates deb http://security.debian.org bullseye-security main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
See here for more information.
For the most basic setup, three network bridges are required (which will become the WAN, LAN and OPT1 interfaces in our router). These are configured in the host node’s network settings.
|Name||Type||Ports/Slaves||IP address||Subnet mask||Gateway|
|vmbr0||Linux bridge||eth0||Primary IP address (ex. 22.214.171.124)||255.255.255.0||Primary gateway address (ex. 126.96.36.199)|
Virtual hardware for pfSense⌗
Below are the current specifications for my router’s virtual hardware. Your mileage may vary.
|CPU||2 vCPUs||A type of “host” (for host-passthrough) is required if you would like to use AES-NI CPU cryptography|
|Storage||32G||I am using a VirtIO disk|
|Network Device 1||vmbr0, VirtIO (or E1000)||This will be used as the WAN interface|
|Network Device 2||vmbr1, VirtIO (or E1000)||This will be used as the LAN interface|
|Network Device 3||vmbr2, VirtIO (or E1000)||This will be used as the OPT1 interface|
In the next part, we’ll install pfSense and configure the basic interfaces.