From owner-freebsd-questions@FreeBSD.ORG Sun Dec 23 04:50:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4BDA34ED for ; Sun, 23 Dec 2012 04:50:35 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by mx1.freebsd.org (Postfix) with ESMTP id C0EF78FC0A for ; Sun, 23 Dec 2012 04:50:33 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id hm11so5884760wib.2 for ; Sat, 22 Dec 2012 20:50:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:references:in-reply-to:mime-version :content-transfer-encoding:content-type:message-id:cc:x-mailer:from :subject:date:to:x-gm-message-state; bh=uBg0wFESnM36uQQsYK6NbCRLmjeoyr2FkQQqFEm47m8=; b=pLWm4EjWyw3XpGGAoCc7eHxyfwOMDcOYY9IbtO55T8+waHlLLnWFHSoNlD9Dhify5D vIQxPoQCWP98yGAmzXZRBH+9b7EoEP+lusgl5V2DwV7YKBo35fmphF67H9ttRSGAq5r0 aUYhdewotuR/FkFZmrZJDYNh2w7iACFsLwF80f+iyyd/bVXiaojS3fIfCPjC+VvgSFvS 7h6yp/POnzPdbybZ/lZKBLLWLjZfnpHr3dBx3tefKZx+jew/EKmH2zBPqFZkhSMeNUiN Umsx7cuYw48TkgZ6QHLqwpbPl2ovdWeX9LXxOHDu8i9A9uXAKnsZrcDnq+2G/5WKeoq0 JKuQ== X-Received: by 10.180.39.143 with SMTP id p15mr29219510wik.14.1356238227548; Sat, 22 Dec 2012 20:50:27 -0800 (PST) Received: from [10.41.113.160] ([92.90.16.94]) by mx.google.com with ESMTPS id fv2sm37056995wib.4.2012.12.22.20.50.26 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 22 Dec 2012 20:50:26 -0800 (PST) References: <50D66FEF.5040105@a1poweruser.com> In-Reply-To: <50D66FEF.5040105@a1poweruser.com> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <7B1B77F2-A104-4796-996B-DA5B8D448D54@my.gd> X-Mailer: iPhone Mail (9A405) From: Damien Fleuriot Subject: Re: how to configure host login account to use jail? Date: Sun, 23 Dec 2012 05:49:36 +0100 To: Fbsd8 X-Gm-Message-State: ALoCoQkixmC5UmTfzK1KEX6GzfazfaZHEDWIdwBKJYXkH9iClIaMJw3f86+rH3EOoFIArQYm75U0 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2012 04:50:35 -0000 On 23 Dec 2012, at 03:43, Fbsd8 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.