Subject: Re: telnet only on 1 interface?
To: None <mcmahill@mtl.mit.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-users
Date: 06/20/1999 08:21:45
On Sun, 20 Jun 1999 01:42:19 -0400 (EDT) 
 mcmahill@mtl.mit.edu wrote:

 > I have 2 network cards in my NetBSD machine and currently have telnet,
 > ftp, rlogin, etc. turned off.  Once network card is connected to the
 > internet, the other to my local net.  My question is, is there an easy way
 > to have telnet enabled on this machine, but only for connections coming in
 > on ethernet card #2 while still not allowing telnet connections from
 > ethernet card #1?

Use IP Filter to block the packets you want blocked if they come in on
the external interface.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>