On Tue, 7 Oct 2003 16:27:10 -0500
"Darryl Hoar" <[EMAIL PROTECTED]> 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
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to