With iptables you can use the next:
        iptables -I OUTPUT -m string --string 'facebook' --algo bm -j
DROP
        iptables -I FORDWARD -m string --string 'facebook' --algo bm -j DROP
And that is all.
El sáb, 12-12-2015 a las 03:54 +0000, Willie M escribió:
> If you use nat on iptables, it will also bypass it while using NAT.
> Change the DNS server on virtualbox with doing something on dd-wrt it
> will also bypass it. You have to keep dealing with it. There will
> always be a way to bypass.
> 
> On Fri, Dec 11, 2015, 7:38 PM  <the...@sys-concept.com> wrote:
> > On 12/11/2015 08:29 PM, Willie M wrote:
> > > If that is the only website you want to block use /etc/hosts.
> > Point it
> > > towards your own computer. "127.0.0.1  facebook.com".
> > 
> > That will work, but if they will use boot VirtualBox Windows it
> > will
> > by-pass that setting.
> > 
> > --
> > Thelma
> > 
> > 
> > > On Fri, Dec 11, 2015, 7:04 PM  <the...@sys-concept.com> wrote:
> > >
> > >> Does anybody have an idea how to block facebook?
> > >>
> > >> I'm using dd-wrt.  The "access restriction" can block http but
> > not https
> > >> and I'm not good in iptables :-/
> > >> In addition users are using VirtualBox on the network as well.
> > 
> > 
> -- 
> 
> Willie Matthews
> matthews.willi...@gmail.com
> 702-659-9966

Reply via email to