Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2020 17:36:01 +0200
From:      Dirk Engling <erdgeist@erdgeist.org>
To:        Brandon helsley <brandon.helsley@hotmail.com>, "freebsd-jail@freebsd.org" <freebsd-jail@freebsd.org>
Subject:   Re: Ezjail
Message-ID:  <d67797bb-4cce-05d7-5c6d-9d2d623f3533@erdgeist.org>
In-Reply-To: <CY4PR19MB1655A8F8F7595F67BCD4F4CDF9AA0@CY4PR19MB1655.namprd19.prod.outlook.com>
References:  <CY4PR19MB1655A8F8F7595F67BCD4F4CDF9AA0@CY4PR19MB1655.namprd19.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30.04.20 17:30, Brandon helsley wrote:

> I installed and updated base jail with ezjail and then like the
> example in the handbook, created dnsjail with it's ip. I'm now needed
> to change the jail file in ezjail directory to a different ip
> address. What do I change it to and how do I do this? Can I get any
> help? Please?

Simplest is to (everything as root) just stop the jail via

ezjail-admin stop JAILNAME

then edit the file /usr/local/etc/ezjail/JAILNAME

and change the line with your original IP address:

jail_JAILNAME_ip="123.45.78.90"

or

jail_JAILNAME_ip="lo1|127.0.23.42"

and then run the jail again with

ezjail-admin start JAILNAME

Best

  erdgeist



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d67797bb-4cce-05d7-5c6d-9d2d623f3533>