Proxmox server how to get vm's to internet with bridge and nat over single ethernet card?

pilgrimage

Member
Oct 17, 2021
65
2
13
44
I have only one network card on my Proxmox server and I log out to the internet via that network card. It matches mac addresses in our organization and allows to log out to the internet. What I want to do is that I want my proxmox server, which currently logs out to the internet without any problems, to log out to the internet with a different ip by making a bridge and nat in my newly installed vm machines via vmbr0. How can I do this? Please, which change should I make on /etc/network/interface on this subject?

auto lo
iface lo inet loopback

iface enp1s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 10.45.35.205/23
gateway 10.45.35.1
bridge-port enp1s0
bridge-stp off
bridge-fs 0


When I assign vmbr0 to my vm machines, I want it to be able to exit with bridge and nat. How can I do this?