NAT set up on Ionos - vmbr0 No Broadcast error

fajja

New Member
Jun 6, 2023
3
0
1
For the last couple of weeks I have been reading and learning how to set up Proxmox and VM's. For the life of me though I can't get NAT IP masquerading set up, every time I do the server is unreachable. I'm probably at the point where I've read the same documents so many times I'm missing a simple step! It is just a small dedicated server that I'm using to practise on but once I master this then I'll set up my projects on a bigger server, each VM will need access to the internet. For ease of not confusing me i'm going to tag the various IP's as A B C etc



auto lo iface lo inet loopback auto eno1 #real IP address iface eno1 inet static address [B] IP*A*[/B]/24 gateway [B]IP*B*[/B] auto vmbr0 #private sub network iface vmbr0 inet static address [B]IP*C*[/B]/24 bridge-ports none bridge-stp off bridge-fd 0 post-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up iptables -t nat -A POSTROUTING -s '[B]IP*D*[/B]/24' -o eno1 -j MASQUERADE post-down iptables -t nat -D POSTROUTING -s '[B]IP*D*[/B]/24' -o eno1 -j MASQUERADE



In my hosting control panel I have set up a virtual private network:

subnet address = IP*E*

Subnet mask = IP*F*

IP Gateway IP*G*

Should these IP's appear in the coded section above? I'm pretty sure I have now tried all variations to no avail. For example should IP*D* be the same as IP*G*?

Should IP*A* be the same as the IP I use to connect to the server?



Apologies for the complicated question for what is probably a simple answer, I've been through everything so much my brain is frazzled! I do love the feel of ProxMox though so if I can get this to work I will be sticking with it.



Ionos states that VM's must be connected through NAT rather than a bridge so I can't use the other methods.



Thank you for your help!
 

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!