Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2010 11:01:24 +0000 (GMT)
From:      Brice ERRANDONEA <berrandonea@yahoo.fr>
To:        freebsd-questions@freebsd.org
Subject:   How to connect a jail to the web ?
Message-ID:  <268321.67123.qm@web24608.mail.ird.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hello,=0A=0AI've just created my first FreeBSD jail in order to install a w=
eb server inside. =0ABut I don't know how to connect it to the web. When I =
try pinging a http =0Awebsite, it doesn't work. Of course, it works when I =
do it from outside the =0Ajail.=0A=0AAnother problem, probably linked to th=
e first one, I can't run rc within the =0Ajail, even as the jail's root. It=
 says : permission denied.=0A=0AHere's how I built and started my jail. I h=
ad already run make buildworld when =0Aupgrading to 8.1 release :=0A=0A# mk=
dir /usr/prison=0A# cd /usr/src=0A# make installworld DESTDIR=3D/usr/prison=
=0A# make distribution DESTDIR=3D/usr/prison=0A# mount -t devfs devfs /usr/=
prison/dev=0A# jail -c path=3D/usr/prison host.hostname=3DServeurWeb ip4.ad=
dr=3D192.1.1.1 persist=0A# jail /usr/prison ServeurWeb 192.1.1.1 csh=0A=0AI=
 guess this must be a very basic question but please help me.=0A=0A=0A=0A  =
    



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?268321.67123.qm>