NAT for static private addresses
- by biggdman
Could someone please help me out with the following scenario:
I have a machine that hosts 3 lxc containers, and acts like a router for them. The LXC containers have private ip addresses set on the interfaces that are connected to the host. I want to provide Internet access to the containers and I want to configure the host system so it translates only the addresses that are configured static on the lxc containers interfaces.
Should I try to configure the host so it translates each of the 3 private addresses to the public address of the host's interface that is connected to the Internet?