Hello
I have problems with my new Proxmox 6.1 installation.
I can fine ping the internet from the host and ping to the guest OS.
I can also ping the gateway 192.168.0.1 on the guest OS. But not the internet.
Both the firewall on the host and the guest os is disabled
Debian 10 Guest OS
IP-adress: 192.168.0.2
Subnetmask: 255.255.255.0
Gateway: 192.168.0.1
I have problems with my new Proxmox 6.1 installation.
I can fine ping the internet from the host and ping to the guest OS.
I can also ping the gateway 192.168.0.1 on the guest OS. But not the internet.
Both the firewall on the host and the guest os is disabled
Debian 10 Guest OS
IP-adress: 192.168.0.2
Subnetmask: 255.255.255.0
Gateway: 192.168.0.1
Code:
auto lo
iface lo inet loopback
iface enp1s0 inet manual
iface enp2s0 inet manual
auto vmbr0
iface vmbr0 inet dhcp
bridge-ports enp1s0
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.0.1
netmask 255.255.255.0
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 '192.168.0.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.0.0/24' -o vmbr0 -j MASQUERADE