[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lxc-users
Subject:    Re: [lxc-users] lxc proxy nat? is there a "reverse proxy nat"?
From:       Tomasz Chmielewski <mangoo () wpkg ! org>
Date:       2020-01-24 15:19:56
Message-ID: 884578c4409426a8f107b77e2ad18e41 () wpkg ! org
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic