Tested on a Lenovo Thinkpad P1 gen2 with the Proxmox 7.1-2 iso.
An ethernet connection to internet is required during the installation process (because iwd is not installed by default).
1. Plug the ethernet cable
2. Install Proxmox
3. Reboot and login with root
4. Update the Proxmox repository
Disable the enterprise repository
by commenting the line
and enable the "no-subscription" repository by creating a new file
with
5. Update the System
6. Install the Desktop Environment (or Windows Manager)
7. Create a bridge for your VM and CT
The network address (10.0.0.1/16 here) must be different from the network address of your internet box.
Don't add anything to this file if you only use a wifi connection.
8. Configure Nftables for NAT
9. Configure iwd (optional)
Iwd (iNet wireless daemon) is required only if you don't want to use the wifi manager provided by your DE, or if you installed a WM.
Iwd is much easier to configure and use than wpa_supplicant.
10. Create your user
11. Reboot and unplug the ethernet cable
12. Login with your user
13. Connect to the wifi network
Use your DE wifi manager.
Or iwd with iwctl (if installed and configured previously):
14. Create a VM or CT and configure the network
Login to PVE at
Create a VM or CT and configure the IP address with 10.0.0.[100]/16 and gateway 10.0.0.1
An ethernet connection to internet is required during the installation process (because iwd is not installed by default).
1. Plug the ethernet cable
2. Install Proxmox
3. Reboot and login with root
4. Update the Proxmox repository
Disable the enterprise repository
vi /etc/apt/sources.list.d/pve-enterprise.list
by commenting the line
#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
and enable the "no-subscription" repository by creating a new file
vi /etc/apt/sources.list.d/pve-no-subscription.list
with
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
5. Update the System
apt update && apt dist-upgrade
6. Install the Desktop Environment (or Windows Manager)
apt install -y task-kde-desktop
(or task-xfce-desktop, task-gnome-desktop, i3, sway...)7. Create a bridge for your VM and CT
The network address (10.0.0.1/16 here) must be different from the network address of your internet box.
Don't add anything to this file if you only use a wifi connection.
vi /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address 10.0.0.1/16
bridge-ports none
bridge-stp off
bridge-fd 0
8. Configure Nftables for NAT
echo net.ipv4.ip_forward=1 > /etc/sysctl.d/routing.conf
sysctl -p --system
systemctl enable nftables.service
vi /etc/nftables.conf
Code:
#!/usr/sbin/nft -f
flush ruleset
table ip nat {
chain postrouting {
type nat hook postrouting priority 0; policy accept; masquerade
}
}
systemctl start nftables.service
9. Configure iwd (optional)
Iwd (iNet wireless daemon) is required only if you don't want to use the wifi manager provided by your DE, or if you installed a WM.
Iwd is much easier to configure and use than wpa_supplicant.
apt install -y iwd
systemctl --now enable iwd
(don't mind the messages)vi /etc/iwd/main.conf
Code:
[General]
EnableNetworkConfiguration=true
service iwd restart
10. Create your user
adduser [user]
11. Reboot and unplug the ethernet cable
12. Login with your user
13. Connect to the wifi network
Use your DE wifi manager.
Or iwd with iwctl (if installed and configured previously):
ip a
(check the wlan interface name ; "wlan0" here)iwctl station [wlan0] scan && iwctl station [wlan0] get-networks
iwctl station [wlan0] connect [SSID]
14. Create a VM or CT and configure the network
Login to PVE at
https://127.0.0.1:8006
Create a VM or CT and configure the IP address with 10.0.0.[100]/16 and gateway 10.0.0.1