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
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users