Date: Wed, 24 Nov 2004 20:26:16 +0100 From: =?ISO-8859-1?Q?Frans_Gidl=F6f?= <neko@grafit.it> To: akhthar@carmatec.com Cc: freebsd-ipfw@freebsd.org Subject: Re: block an IP for a particular port Message-ID: <B5F3FA23-3E4E-11D9-895E-000A95A9DD8E@grafit.it> In-Reply-To: <200411250050.55960.akhthar@carmatec.com> References: <200411250050.55960.akhthar@carmatec.com>
next in thread | previous in thread | raw e-mail | index | archive | help
/24 isn't the correct netmask, /8 is (by the looks of it anyway) On Nov 24, 2004, at 8:20 PM, Akhthar Parvez. K wrote: > Hi All, > > I just wanna block an IP range for a particular port. I used the > following > command. > > ipfw add 00150 drop tcp from 200.0.0.0/24 to any 80 > > I am able to see the following line in ipfw list > > 00150 deny tcp from 200.0.0.0/24 to any 80 > > But I don't think it's working. I am still getting the requests from > that IP > range. Do I need to do anything else to make it works? > > Thanks in advance. > > -- > With Regards, > > Akhthar Parvez.K > > --------------------- > NOTHING IS IMPOSSIBLE > Because Impossible itself says > I'M POSSIBLE > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B5F3FA23-3E4E-11D9-895E-000A95A9DD8E>