Proxmox host with a static IP

TzOk

New Member
Jun 8, 2025
2
0
1
I have a Proxmox VE 8.3.0 running on a machine that has a single, statically configured IP address. Guest OSes do not have Internet access. How should I set up NAT and DHCP on a Proxmox host to provide guest VMs with Internet access? There are multiple tutorials over the Internet, but many are outdated, and they require manual editing of files that explicitly tell not to edit them manually, also, different tutorials recommend editing the same things in different files. Where can I find an official and proper way of setting this up?

What I have done so far:
1. At the "Datacenter" level: I have set up a "dhcpsnat" Zone and "vnet1" VNet assigned to it. Within that VNet I have defined a subnet 192.168.200.0/24 with SNAT option enabled.
2. At the Node level: I have configured a "vmbr1" Linux Bridge pointing to the same 192.168.200.0/24 subnet.
3. At the VM level: In the Hardware tab, I have configured a Network Device (net0) to point to "vmbr1" bridge.

Unfortunately, my VM doesn't get any IP address for its network interface.
 
Last edited:
Thank you for your reply. I have followed this tutorial, and my test VM (Porteus) now gets an IP from the DHCP, and can reach the Internet, but I have one question about the firewall. The tutorial says, "If you use the PVE firewall, you will also need to allow DHCP forwarding and DNS traffic on the VNet interface", so should I add these rules to the SDN VNet Firewall, or to the Datacenter Firewall? I guess the first option, but I prefer to be sure.
 
In that case you really want to setup these firewall rules on the VNet bridge itself, i.e. you should create these rules in the Datacenter firewall as stated in the same paragraph ;)