Gentoo Archives: gentoo-user

From: pc0147 Sistemas Will_ecg <willecg@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] blocking facebook
Date: Mon, 14 Dec 2015 16:53:11
Message-Id: 1450111935.1703.2.camel@openmailbox.org
In Reply to: Re: [gentoo-user] blocking facebook by Willie M
1 With iptables you can use the next:
2 iptables -I OUTPUT -m string --string 'facebook' --algo bm -j
3 DROP
4 iptables -I FORDWARD -m string --string 'facebook' --algo bm -j DROP
5 And that is all.
6 El sáb, 12-12-2015 a las 03:54 +0000, Willie M escribió:
7 > If you use nat on iptables, it will also bypass it while using NAT.
8 > Change the DNS server on virtualbox with doing something on dd-wrt it
9 > will also bypass it. You have to keep dealing with it. There will
10 > always be a way to bypass.
11 >
12 > On Fri, Dec 11, 2015, 7:38 PM  <thelma@×××××××××××.com> wrote:
13 > > On 12/11/2015 08:29 PM, Willie M wrote:
14 > > > If that is the only website you want to block use /etc/hosts.
15 > > Point it
16 > > > towards your own computer. "127.0.0.1  facebook.com".
17 > >
18 > > That will work, but if they will use boot VirtualBox Windows it
19 > > will
20 > > by-pass that setting.
21 > >
22 > > --
23 > > Thelma
24 > >
25 > >
26 > > > On Fri, Dec 11, 2015, 7:04 PM  <thelma@×××××××××××.com> wrote:
27 > > >
28 > > >> Does anybody have an idea how to block facebook?
29 > > >>
30 > > >> I'm using dd-wrt.  The "access restriction" can block http but
31 > > not https
32 > > >> and I'm not good in iptables :-/
33 > > >> In addition users are using VirtualBox on the network as well.
34 > >
35 > >
36 > --
37 >
38 > Willie Matthews
39 > matthews.willie80@×××××.com
40 > 702-659-9966