Last active
April 14, 2026 03:36
-
-
Save brunopk/e16db5bb2bcf97ba7439e229d1e865eb to your computer and use it in GitHub Desktop.
Proxmox
- Install Proxmox as described in this blog.
- In the Proxmox machine (through the web GUI):
- Install
wpa-supplicant:apt-get install wpa-supplicant
- Create the
/etc/wpa_supplicant/wpa_supplicant.confwith this:ctrl_interface=/run/wpa_supplicant update_config=1
- Find the corresponding Wi-Fi interface :
ip link
- Assuming the corresponding Wi-Fi interface is named
wlp1s0, startwpa_supplicant:wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
- Use the scan feature of
wpa_clito find the SSID for your Wi-Fi network. - Follow steps 1 to 3 in this blog with previous SSID and your Wi-Fi password and using this configuration for static IP:
auto lo iface lo inet loopback # Wifi interface autoconnect using wpa_supplicant.conf auto wlp1s0 iface wlp1s0 inet static address 192.168.0.2 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 1.1.1.1 8.8.8.8 wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf # Virtual bridge network auto vmbr0 iface vmbr0 inet static address 10.1.1.1/24 bridge-ports none bridge-stp off bridge-fd 0 post-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up iptables -t nat -A POSTROUTING -s '10.1.1.0/24' -o wlp1s0 -j MASQUERADE post-down iptables -t nat -D POSTROUTING -s '10.1.1.0/24' -o wlp1s0 -j MASQUERADE post-up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1 post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1 source /etc/network/interfaces.d/*
- Install
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment