[ previous ] [ next ] [ threads ]
 From:  "Lee Sharp" <leesharp at hal dash pc dot org>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] FAQ # 16.11...blocking website won't work ?
 Date:  Wed, 2 Aug 2006 14:41:41 -0500
From: "Bob Young" <bob at lavamail dot net>

> I was trying to block access to a certain website.  I am using "reject" 
> like
> the FAQ says.

Where?  Are you putting in on the LAN interface above the default "allow 
everything" rule?

> I pinged the website name, so it would come back with the IP address of 
> the
> website.  So I used that IP address to reject.

> But I also need to put in the CIDR number.  The CIDR number (or the subnet
> mask) information isn't given along with the IP address.  So I just 
> guessed
> and put in 24 for the CIDR number.  It still won't block.

You use a /32 for one address.  A /29 will block 8 addresses, and so on...

> Can anyone tell me what I might be doing wrong?

Well, you carriage return seems stuck, for one.  :-)  To many lines make it 
tough to read.