block an IP for a particular port

Akhthar Parvez. K akhthar at carmatec.com
Wed Nov 24 11:20:55 PST 2004


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


More information about the freebsd-ipfw mailing list