Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2015 01:50:54 +0000
From:      marcel <marcel.plouf@gmail.com>
To:        Dirk Engling <erdgeist@erdgeist.org>, freebsd-jail@freebsd.org
Subject:   Re: Configuring network without ezjail
Message-ID:  <566B7D7E.2070507@gmail.com>
In-Reply-To: <566B5CB6.8050009@erdgeist.org>
References:  <566B67F7.1090404@gmail.com> <566B5CB6.8050009@erdgeist.org>

next in thread | previous in thread | raw e-mail | index | archive | help
No I don't get to have an IP address... Yet I have writed this in my
host's rc.conf:

jail_enable="YES"
jail_list="thename"
jail_guantanamo_rootdir="thepath"
jail_guantanamo_hostname="thename"
jail_guantanamo_ip="192.168.0.12"

and I use the command:

jail thepath thename 192.168.0.12 /bin/csh

to connect to my jail...

On 11/12/2015 23:31, Dirk Engling wrote:
> On 12.12.15 01:19, marcel wrote:
>
>> I would like to know if it is possible to configure a jail's network for
>> accessing to the World Wide Web but without ezjail ?
>> I have created my jail without ezjail (mkdir jail, make installworld,
>> etc...) and I would like to continue without it if it's possible...
> Sure, why doesn't it connect to the net? Does it have a RFC1918 IP? If
> so, you need to enable NAT. If not, did you enable gatewaying? Maybe you
> just have DNS problems, so is your resolv.conf set up properly?
>
> Without knowing what exactly is not working, I can not help you.
>
>   erdgeist




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