Date: Sun, 04 Sep 2016 18:51:15 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Grzegorz Junka <list1@gjunka.com>, "freebsd-jail@freebsd.org" <freebsd-jail@freebsd.org> Subject: Re: Changing jail's IP automatically Message-ID: <57CC5103.9090200@quip.cz> In-Reply-To: <9fd404a3-f1cc-4510-1d38-5ca8dc85f5d3@gjunka.com> References: <872dfbe1-3f39-bf5f-44b2-611bd92a1210@gjunka.com> <4fa37d2e14665ff5a00548626e55142f@gritton.org> <F9734DA1-D3BE-46C8-87C7-91C4C4B653F1@Lodge.me.uk> <9fd404a3-f1cc-4510-1d38-5ca8dc85f5d3@gjunka.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Grzegorz Junka wrote on 09/04/2016 18:32: > Probably it would, I didn't try. Is this is the proper way of solving > this issue? If I was you I will definitely use 1:1 biNAT. Because then you can write PF rules in way without knowing the future IP assigned by DHCP. (you will use interface name, not IP on this interface) > On 03/09/2016 15:49, James Lodge wrote: >> Would PF and NAT not work for you? NAT to the WLAN0 IP (DHCP assigned) >> using PF macros and have a separate subnet for your jails? This would >> be PAT so you might have issues with accessing services inbound if >> you're using the same port in multiple jails. Just an idea.....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57CC5103.9090200>