[ previous ] [ next ] [ threads ]
 From:  Albert Lash <albert dot lash at gmail dot com>
 To:  rbasuki at gdincorporation dot com
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] How to block a certain website with m0n0wall?
 Date:  Fri, 9 Oct 2009 01:13:43 -0400
Hi Rendra,

The reject rule is only faster with regard to the browser's response,
not the setup. The browser's "thinking icon" will keep spinning if its
request packets are silently dropped. If they are rejected, the
browser should immediately respond back to the user saying the page
cannot be displayed.

If I were trying to do what you describe, I would use the DNS
Forwarder -> Domain Override to point DNS queries to  *.example.com to
a private authoritative DNS server which responds with a single IP
address to which access through the firewall from the LAN is denied.

Make sense?

- Albert

On Fri, Oct 9, 2009 at 12:00 AM, GD Incorporation
<rbasuki at gdincorporation dot com> wrote:
> Dear Lee
> I did like what you wrote below. I went to whois.com and find info on
> facebook.com domain and found that they used 4 dns servers. I was thinking
> to block the DNS servers thinking that all access that goes through that
> server will be rejected. But you are right if the DNS Servers are hosted to
> important business oriented servers such as GoDaddy, then it will be
> trouble.
> I hope m0n0wall have a feature to block a certain domain all at once.
> Now the next question, since the m0n0wall does not seem to be able to block
> one whole domain, if I put a real web portal such as dansguardian to filter
> what websites can be accessed, shoud I put it between ADSL modem and
> Firewall or should I put it behind firewall?
> Or do you still have more tricks in your sleeves to solve my problem?
> Thanks
> Rendra
> -----Original Message-----
> From: Lee Sharp [mailto:leesharp at hal dash pc dot org]
> Sent: Friday, October 09, 2009 3:39 AM
> To: m0n0wall at lists dot m0n0 dot ch
> Subject: Re: [m0n0wall] How to block a certain website with m0n0wall?
> Rendra Basuki wrote:
>> Actually I am trying to block sites such as twitter, facebook, hi5,
>> and friendster since my boss said it caused lower productivity.
>> Any suggestion. I tried to put firewall rules to block the IP address
>> of www.facebook.oom and facebook.com. The funny thing is that
>> www.facebook.com and facebook.com shows 2 different addresses when I ping
> it.
> I am taking this back to the list, as it is handy for lost of people.
> Large sites like those are NOT one computer.  Facebook actually has
> for possible servers, and they may move.  To filter stuff
> like that, you need a real web filter.  I have used Untangle in a few
> clients and it works well.  However, using it with m0n0wall can be a
> challenge depending on the functions you need.  For example, Captive Portal
> will not work "through" Untangle is it is a b-router and rewrites the MAC
> address.
> Or, you can ping each server, the do a 'whois' on the address block, and
> block the whole thing, and hope it is not hosted somewhere (like
> GoDaddy) with websites you need for business reasons.
>                        Lee