Hi! First of all, I'm new to all this. Now, I want to setup Proxmox VE via a WIFI USB dongle (I know it's not recommended).
I have managed to set up my Proxmox and my WIFI dongle. (Took me a while and lots of trial and error.) I can now access the Proxmox UI via another laptop on the same network and I can ping google.com from the Proxmox terminal.
However, I wanted to set up a VM, but I can't seem to pass the connection to it. I tried a Home Assistant VM and a Debian one, but both could not connect to the internet or ping other VMs/the host (Network is unreachable and Destination Host Unreachable).
I tried many things (not sure if I did them all right), but nothing seems to work. Can anyone help me out?
This is my /etc/network/interfaces:
I have managed to set up my Proxmox and my WIFI dongle. (Took me a while and lots of trial and error.) I can now access the Proxmox UI via another laptop on the same network and I can ping google.com from the Proxmox terminal.
However, I wanted to set up a VM, but I can't seem to pass the connection to it. I tried a Home Assistant VM and a Debian one, but both could not connect to the internet or ping other VMs/the host (Network is unreachable and Destination Host Unreachable).
I tried many things (not sure if I did them all right), but nothing seems to work. Can anyone help me out?
This is my /etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
iface enp1s0 inet manual
auto wlx1cbfce1dbf8f
iface wlx1cbfce1dbf8f inet static
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
address 192.168.0.10/24
gateway 192.168.0.1
wpa-essid my_ssid
wpa-psk my_psk
auto vmbr0
iface vmbr0 inet static
address 192.168.137.10/24
bridge-stp off
bridge-fd 0
bridge-ports none
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '192.168.137.0/24' -o wlx1cbfce1dbf8f -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.137.0/24' -o wlx1cbfce1dbf8f -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/*