From: Michele Andreoli ([email protected])
Date: Sat Dec 16 2000 - 12:24:23 CET
On Fri, Dec 15, 2000 at 08:04:05PM -0800, Bob Romprey nicely wrote:
>
> Greetings,
>
> Asking a question for a change.
> I need to find out if there's any way to disclude any particular class B or class C network from accessing thttpd through muLinux.
>
>
> winsor
>
ipfwadm -I -i reject -S 192.168.2.1/24 -P tcp -D 0/0 80
In this example, every coming from 192.168.2.* and going to port 80/tcp is
blocked in input (-I). If you wish to block also forwarding (for example,
to internet), the same line but -I -> -F.
Please, try also the script "ipf" in muLinux: it is a sort of "fdisk"
for IP filtering.
Michele
-- In summing up, I wish I had some kind of affirmative message to leave you with, I don't. Would you take two negative messages? - Woody Allen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:17 CET