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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!