From owner-freebsd-questions Mon Sep 9 18:31:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF00437B400 for ; Mon, 9 Sep 2002 18:31:33 -0700 (PDT) Received: from smtprelay9.dc2.adelphia.net (smtprelay9.dc2.adelphia.net [64.8.50.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id E98F543E6A for ; Mon, 9 Sep 2002 18:31:32 -0700 (PDT) (envelope-from cgaush@adelphia.net) Received: from kondak.gaush.net ([24.49.33.30]) by smtprelay9.dc2.adelphia.net (Netscape Messaging Server 4.15) with ESMTP id H2788B02.3DQ; Mon, 9 Sep 2002 21:31:23 -0400 Content-Type: text/plain; charset="iso-8859-1" From: "Charles J. Gaush" To: "Noman Rafiq" , questions@FreeBSD.ORG Subject: Re: Help Date: Mon, 9 Sep 2002 21:31:22 -0400 User-Agent: KMail/1.4.2 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200209092131.22913.cgaush@adelphia.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday 08 September 2002 05:41 am, Noman Rafiq wrote: > Hello > > I want to do that on my FreeBsd machine only telnet from specified ip > address like in linux i specfied ip address in file hosts.allow only fr= om > that ip address my machine will be telnet no other from. Is there any f= ile > configuration in freebsd i can and stop telnet from other ip address. > > thanks > Noman > > > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message Noman, FreeBSD's /etc/hosts.allow works pretty much like Linux's. To allow one = IP=20 and deny all others, just add these lines to the file: # Allow one friendly IP and block all others telnetd : x.x.x.x : allow telnetd : ALL : deny CG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message