Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2012 05:49:36 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        Fbsd8 <fbsd8@a1poweruser.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: how to configure host login account to use jail?
Message-ID:  <7B1B77F2-A104-4796-996B-DA5B8D448D54@my.gd>
In-Reply-To: <50D66FEF.5040105@a1poweruser.com>
References:  <50D66FEF.5040105@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 23 Dec 2012, at 03:43, Fbsd8 <fbsd8@a1poweruser.com> wrote:

> Have jails up and running on host with ip address of
> 10.0.10.10 10.0.10.11 10.0.10.12 10.0.10.13 10.0.10.14
> The host rc.conf has
> ifconfig_xl0=3D"DHCP"  # nix connected to isp
> ifconfig_rl0=3D"inet 10.0.10.2"  #lan nic
>=20
> I want lan users to login to their jail by ip address using ssh.
> How do I setup host user accounts so they login to
> their associated jail?
> Is this something I code in the host user account or is it done
> by the remote ssh login command?
>=20
> How do other jail users do this?
>=20

I assign public IPs to my jails and let people SSH to them.

Alternatively you could use non-22 ports and have PF rdr to your jail's inte=
rnal IP.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B1B77F2-A104-4796-996B-DA5B8D448D54>