Subject: Re: telnet only on 1 interface?
To: None <>
From: Bill Sommerfeld <>
List: netbsd-users
Date: 06/20/1999 02:29:38
> 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?

You can do this with a combination of the:

addr:service ...

syntax in inetd.conf (see inetd(8)), plus some ipf rules to ensure
that packets to that address can only come in via ethernet #2.  Poke
around in /usr/share/examples/ipf for some examples of how to do this
sort of thing..

					- Bill