From owner-freebsd-questions@FreeBSD.ORG Fri Apr 18 09:16:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B69831065670 for ; Fri, 18 Apr 2008 09:16:19 +0000 (UTC) (envelope-from freebsd@wire-consulting.com) Received: from thor.wire-consulting.com (thor.wire-consulting.com [213.13.113.115]) by mx1.freebsd.org (Postfix) with ESMTP id 242C88FC1D for ; Fri, 18 Apr 2008 09:16:18 +0000 (UTC) (envelope-from freebsd@wire-consulting.com) Received: from leoncio.local (freebsd.wire-consulting.com [213.13.113.117]) (authenticated bits=0) by thor.wire-consulting.com (8.13.3/8.13.3) with ESMTP id m3I94f5I044039 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 18 Apr 2008 10:04:42 +0100 (WEST) (envelope-from freebsd@wire-consulting.com) Message-ID: <48086425.5080608@wire-consulting.com> Date: Fri, 18 Apr 2008 10:04:37 +0100 From: FreeBSD - Wire Consulting User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Gilles References: <2tng04doovnmtkr7or9kfkb596fgjfoj1c@4ax.com> In-Reply-To: <2tng04doovnmtkr7or9kfkb596fgjfoj1c@4ax.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.1/6817/Fri Apr 18 02:15:07 2008 on thor.wire-consulting.com X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: [SSHd] Limiting access from authorized IP's X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 09:16:19 -0000 Hi, Gilles wrote: > Hello > > I have a couple of questions about running SSHd: > > 1. I'd like to limit connections from the Net only from specific IP's. > It seems like there are several ways to do it (/etc/hosts.allow, > AllowHosts/AllowUsers, TCP-wrapper, port-knocking, etc.). Which would > you recommend? > You can limit the access using one of the packet filters available, ipfw(8), ipf(8) or pf(4). > 2. Although it's up and running, I can't find SSHd in the list of > installed apps: > sshd(8) is part of the base system, which is a FreeBSD patched version of OpenSSH. Although, you can find some ports of bulk OpenSSH in /usr/ports/security. Pedro