NAT for static private addresses
Posted
by
biggdman
on Server Fault
See other posts from Server Fault
or by biggdman
Published on 2012-12-19T16:42:41Z
Indexed on
2012/12/19
17:04 UTC
Read the original article
Hit count: 241
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?
© Server Fault or respective owner