*BSD News Article 63056


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!newsfeed.internetmci.com!in1.uu.net!news.usaor.net!news
From: Brian Hess <brian@usaor.net>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Allowing Telnet Access to Local Machines Only
Date: Fri, 08 Mar 1996 10:48:48 -0500
Organization: USA OnRamp
Lines: 18
Message-ID: <314056E0.35BE@usaor.net>
References: <jeremy-0703961323330001@quantum.vcn.com>
NNTP-Posting-Host: pc29.usaor.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (Win95; I)

Jeremy Malli wrote:
> 
> Anyone know of a way to disallow Telnet access outside of the local
> domain.  I've heard some stuff about a hosts.deny file, but can't find
> anything about it in Practical UNIX Security, or in the man pages.

In hosts.deny:

telnetd: ALL

In hosts.allow:

telnetd: yourdomain.com

This will disable everyone but people in your domain from being able to 
telnet into that machine.

--brian