Hi everyone,
I’ve been working on a setup to run Proxmox VE on a laptop (specifically an ASUS ROG series, but applicable to most Intel-based laptops) and I wanted to share a script that automates the most common hurdles.
Since Proxmox doesn't natively support bridging over WiFi, I created a solution that uses NetworkManager for WiFi management and IPTables NAT to provide internet to VMs via a dedicated bridge (vmbr1).
What this script does:
Quick Start:
I’ve been working on a setup to run Proxmox VE on a laptop (specifically an ASUS ROG series, but applicable to most Intel-based laptops) and I wanted to share a script that automates the most common hurdles.
Since Proxmox doesn't natively support bridging over WiFi, I created a solution that uses NetworkManager for WiFi management and IPTables NAT to provide internet to VMs via a dedicated bridge (vmbr1).
What this script does:
- WiFi as WAN: Uses NetworkManager to handle the WiFi connection on the host.
- NAT VM Network: Creates vmbr1 with an integrated dnsmasq server for automatic DHCP. No manual IP setup is needed in VMs.
- Hybrid Desktop: Installs Cinnamon DE for local management.
- Power & GPU Optimization: Blacklists NVIDIA GPUs to save power/RAM (ready for passthrough) and installs TLP for better thermal management.
- Repo Fix: Automatically configures "No-Subscription" repositories.
Quick Start:
- Edit the script with your WiFi SSID and Password.
- Run as root: chmod +x setup.sh && ./setup.sh
- Connect your VMs to the vmbr1 bridge.