Back to All Lab Write-ups
PROXMOX VE CONFIGURATION

Proxmox VE Setup Guide

Step-by-step guide on installing and configuring Proxmox VE on a headless home lab server.

HomeLab Knowledge Base 6 min read Proxmox, Virtualization, Server Hardening

This guide outlines the steps to successfully install and configure Proxmox VE on a repurposed laptop as a headless home lab server.

1. Initial Proxmox Installation

  1. Download: Obtain the latest Proxmox VE ISO from the official Proxmox website.
  2. Flash: Use a tool like Etcher or Rufus to write the ISO to a USB drive.
  3. Install: Boot the laptop from the USB drive. Follow the on-screen installer prompts.
  4. Network Configuration: Assign a static IP address, set the Gateway, and configure the management interface to match your local network segment.

2. Configure Headless Operation (Lid Settings)

To prevent the laptop from suspending when the lid is closed, modify the systemd login configuration:

  1. Open the configuration file: nano /etc/systemd/logind.conf
  2. Locate and uncomment (remove the #) the following lines, setting them to ignore:
    HandleLidSwitch=ignore
    HandleLidSwitchExternalPower=ignore
    HandleLidSwitchDocked=ignore
  3. Save and exit (Ctrl+O, Enter, Ctrl+X).
  4. Restart the service to apply changes: systemctl restart systemd-logind

3. Configure Screen Timeout

To ensure the screen blanks automatically and saves power, configure the kernel console blanking:

  1. Edit the GRUB configuration: nano /etc/default/grub
  2. Find the GRUB_CMDLINE_LINUX_DEFAULT line and append consoleblank=30:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet consoleblank=30"
  3. Update the bootloader: update-grub

4. Hardware BIOS/UEFI Settings

To ensure high availability for your server:

  1. Enter BIOS/UEFI on startup (usually F1 or Enter).
  2. Navigate to Power settings.
  3. Set Restore on AC/Power Loss (or similar) to Power On.
  4. Save and exit.

5. Verification

  1. Reboot the system: reboot.
  2. Confirm the Proxmox web GUI is accessible at https://<YOUR_IP>:8006.
  3. Close the laptop lid and verify that the server remains reachable and the screen turns off after 30 seconds.
Proxmox active nodes
Figure 1: Live Proxmox active with 2 base servers for testing

6. Security Hardening

Objective: Secure Proxmox Management Interface and Host OS

Perimeter & Network Security

  • Disabled Port Forwarding: Verified no external port mapping (NAT) on the home router.
  • Tailscale Integration: Implemented WireGuard-based P2P VPN for secure remote access.
  • Firewall Enablement: Enabled Datacenter and Node-level firewalls. Set Default Input Policy to DROP.
Proxmox Firewall Configuration
Figure 2: Firewall Configuration

Identity & SSH Hardening

  • Key-Based Authentication: Generated unique Ed25519 SSH key pair.
  • Host Lockdown: Disabled password auth and restricted root login in /etc/ssh/sshd_config.
SSH Hardening
Figure 3: SSH Configuration Verification
Firewall Config
Figure 4: Firewall Configuration
Critical: Your Private Key file is your "Master Key." If you lose this file, you will be locked out of your server. Backup your ~/.ssh/ directory securely.
Proxmox VM Storage Setting
Figure 5: Storage configuration for new VMs
All Articles