how to configure host login account to use jail?

Damien Fleuriot ml at
Sun Dec 23 04:50:35 UTC 2012

On 23 Dec 2012, at 03:43, Fbsd8 <fbsd8 at> wrote:

> Have jails up and running on host with ip address of
> The host rc.conf has
> ifconfig_xl0="DHCP"  # nix connected to isp
> ifconfig_rl0="inet"  #lan nic
> 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?
> How do other jail users do this?

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 internal IP.

More information about the freebsd-questions mailing list