[lxc-users] lxc proxy nat? is there a "reverse proxy nat"?

Tomasz Chmielewski mangoo at wpkg.org
Fri Jan 24 15:19:56 UTC 2020


On 2020-01-24 23:40, Tomasz Chmielewski wrote:

> Now, it works great. However, mail sent from container 10.2.2.2 will
> use LXD server's 1.1.1.1 as the outgoing IP. I'd like it to use
> 2.2.2.2, and still have the private IP assigned (I don't want to
> assign the public IP to this container).
> 
> How can I do it?

OK, there is "ipv4.nat.address" which can be set in a network, i.e. "lxc 
network edit lxdbr1".

Good enough!


Tomasz Chmielewski
https://lxadm.com


More information about the lxc-users mailing list