Date: Thu, 8 Jan 2009 10:54:48 +0000 From: Oliver Peter <lists@peter.de.com> To: spil.oss@gmail.com Cc: ezjail@erdgeist.org, freebsd-stable@freebsd.org, spil.oss@googlemail.com Subject: Re: Problems with network in jail Message-ID: <20090108105448.4cd6dcfe@dilbert.office.centralnic.com> In-Reply-To: <5fbf03c20901080207y4b0b18beod775a8ef2887f147@mail.gmail.com> References: <5fbf03c20901080207y4b0b18beod775a8ef2887f147@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 Jan 2009 11:07:04 +0100 "Spil Oss" <spil.oss@googlemail.com> wrote: > Early this week, I upgraded from 7.0 to 7.1 (not having 'used' jails > on 7.0). After creating the jail with > `ezjail-admin update -i` > I created a 'ports build' jail > `ezjail-admin create build 127.0.0.3` > and forgot to add the alias to lo0, so no networking off-course. So I > added the 127.0.0.3 alias to lo0 > `ifconfig lo0 inet 127.0.0.3 alias` > and restarted the jail If you use the loopback device for your jails you have to add NAT rules to your host machine, this documentation is very useful: http://www.rootforum.de/wiki/freebsd/04_jail_infrastructure#packet_filter_einrichten (The article is in German, but the configuration stuff should be understandable anyway) -- Oliver PETER, email: oliver@peter.de.com, ICQ# 113969174 "If it feels good, you're doing something wrong." -- Coach McTavish
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090108105448.4cd6dcfe>