Set up network for vm on Hetzner robot

stefano_gr1992

New Member
Oct 21, 2023
1
0
1
Good morning,

I have searched far and wide on the internet, even tried hetzner's own guide, I cannot configure my vm's network on proxmox.

I have installed on windows server 2019 on the virtual machine, but I need to make it comiunicate with the outside making it reachable via rdp.

I am at my wits end any help would be appreciated.

Thanks
 
Do a network Konfiguration like this

Code:
cat /etc/network/interfaces
auto lo
iface lo inet loopback

# extern
auto eno1
iface eno1 inet dhcp
    
    
# intern
auto vmbr0
iface vmbr0 inet static
    address 10.0.0.1/24
    bridge-ports none
    bridge-stp off
    bridge-fd 0

then you need to enable ip forwarding

cat /etc/sysctl.d/lihas.conf
net.ipv4.forward = 1

and set firewall rules to masquerade you internal IPs and to dnat your external ip to your server
 
  • Like
Reactions: stefano_gr1992
You cannot just bridge your vm to your network card, the additional mac will be detected and your network blocked.

Do a network Konfiguration like this

Code:
cat /etc/network/interfaces
auto lo
iface lo inet loopback

# extern
auto eno1
iface eno1 inet dhcp
   
   
# intern
auto vmbr0
iface vmbr0 inet static
    address 10.0.0.1/24
    bridge-ports none
    bridge-stp off
    bridge-fd 0

then you need to enable ip forwarding

cat /etc/sysctl.d/lihas.conf
net.ipv4.forward = 1

and set firewall rules to masquerade you internal IPs and to dnat your external ip to your server.