how to configure host login account to use jail?

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


On 23 Dec 2012, at 03:43, Fbsd8 <fbsd8 at 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="DHCP"  # nix connected to isp
> ifconfig_rl0="inet 10.0.10.2"  #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