New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Help needed with proxmox4 NAT config
Hello.
I use mostly proxmox 3.4 with NAT port forwarding containers (openvz) and are working fine.
But I cannot do a proper setup for the new version of proxmox (4.1) with lxc (using one ipv4 for the node and create NAT vm's with port forwarding). I cannot find a proper setup. has anyone of you some detailed informations about how to achieve this type of networking setup that works on ProxMox4? (As you understand, I am not an expert in networking configs!!!)
Thanks and Merry Christmas!
Comments
Well if i remeber correctly LXC on proxmox uses a bridged network configuration. So it should be as configure NAT for kvm. But i could be wrong. I found this link: https://servernetworktech.com/2012/12/proxmox-and-using-nat-with-a-virtual-machine/
here is another one: https://coderwall.com/p/k0gutq/clean-lxc-nat-configuration-debian-wheezy
I finally managed to figure out what was happening.
Seem that Proxmox deletes manual configuration in /etc/network/interfaces files and in every node's restart, won't keep external iptable rules that I usually inject in an init.d script. So, the interfaces have to be configured only via the proxmox 4 GUI and you can add any rules you need for NAT forwarding in /etc/network/interfaces files.
Now, NAT forwarding is working fine.