Date: Wed, 20 Aug 2014 20:50:37 -0600 From: James Gritton <jamie@gritton.org> To: questions@freebsd.org Cc: tyler@tysdomain.com Subject: Re: putting jails on public addresses Message-ID: <53F55E7D.7030206@gritton.org> In-Reply-To: <53F52D26.6070600@tysdomain.com> References: <53F52D26.6070600@tysdomain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/20/2014 5:20 PM, Littlefield, Tyler wrote: > Hello: > I'd really like to put a couple of jails on publically accessible IP > addresses. I have 5 that my provider has assigned to me. Could anyone > possibly shed > some light on how to do this? I know of epairs, but I'm not sure > exactly how this works: does each interface (a and b) get an address? > I presume one would > be 192.168.0.8 and the other would be x.x.x.x (where x.x.x.x is the > public address)? Which one should i set the gateway on? > Thanks a lot for the help, You shouldn't need to mess with epair for most jails. Just specify the jails' addresses (ip4.addr=x.x.x.x) in your jail.conf, and be sure to have an "interface=foo0" global line. The simplest jail setup is one using publicly available addresses on a single interface, which sounds like what you have. - Jamie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53F55E7D.7030206>