Inetd services question

Ion-Mihai Tetcu itetcu at apropo.ro
Tue Oct 7 14:57:51 PDT 2003


On Tue, 7 Oct 2003 16:27:10 -0500
"Darryl Hoar" <darryl at osborne-ind.com> wrote:

> Greetings,
> I am running 4.7-stable.  My machine has an internet facing 
> network interface, and a private LAN (192.168.1.X) facing interface.
> 
> Question:  Can you enable a well known service in inetd.conf, and
> have it only available for the private interface?  IE, no hacking
> from outside ?

In hosts.allow put:

service_name_or_port(s) : 192.168.1.1/255.255.255.0 : allow
ALL : ALL : DENY

see also :

tcpdmatch(8)
ftpchroot(5)
ftpd(8)

security(7)
ipfw(8)




-- 
IOnut
FreeBSD unregistered ;) user


More information about the freebsd-questions mailing list