Hello, I installed "Proxmox VM 5 os" on my kimsufi server, then I created a Window 7 virtual machine selecting VirtIO (paravirtualized) for the network (vmbr0).
But there's no internet on the vm.
After reading some tutorial I created a second linux bridge adding that in interfaces :
And set the ipv4 properties in the vm with ip 192.168.1.2, and windows seemed to recognize the network asking if it was home or professionnal network, but that changed nothing and still have no internet connexion.
I don't need the machine to be accessible from outside using rdp or something else, but I need it to have access to the internet.
Thanks for any help.
But there's no internet on the vm.
After reading some tutorial I created a second linux bridge adding that in interfaces :
Code:
auto vmbr2
#private sub network
iface vmbr2 inet static
address 192.168.1.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up iptables -t nat -A POSTROUTING -s '192.168.1.0/24' -o vmbr1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.1.0/24' -o vmbr1 -j MASQUERADE
And set the ipv4 properties in the vm with ip 192.168.1.2, and windows seemed to recognize the network asking if it was home or professionnal network, but that changed nothing and still have no internet connexion.
I don't need the machine to be accessible from outside using rdp or something else, but I need it to have access to the internet.
Thanks for any help.