[NTLUG:Discuss] allow http request only

Greg Edwards greg at nas-inet.com
Thu Nov 8 18:39:43 CST 2001


m m wrote:
> 
> Hi all:
> 
> how do i allow all http (on port 80) request but nothing else in
> /etc/hosts.allow and /etc/hosts.deny?
> I have check man hosts.allow and hosts.deny, have no ieda. (not smart enough
> to understand it.)
> 
> Thanks
> 

Is this a single machine, router, or host that has traffic routed to it?

If your running Apache in standalone mode then it already gets all port
80 traffic.  You can disable (as already pointed out) ALL access in
hosts.deny and then allow ALL LOCAL (if networked) in hosts.allow so
that internal users can use services on your host.  You can also pick
and choose to allow internal access on inetd (ox xinetd) services. 
Unless this is a machine that passes traffic through it (router) you
don't have to deal with ipchains/iptables.

-- 
Greg Edwards
New Age Software, Inc.
http://www.nas-inet.com



More information about the Discuss mailing list