i want to deny the access to facebook in my machine
Michael D. Setzer II
mikes at kuentos.guam.net
Sat Jun 27 13:37:02 UTC 2009
On 27 Jun 2009 at 14:22, Adel ESSAFI wrote:
>
>
>
> Hi
> thanks,
> But actually, it does not work
>
> [root at localhost ~]# iptables -I OUTPUT -d 69.63.178.11 -j DROP
> [root at localhost ~]# iptables -I OUTPUT -d 69.63.184.142 -j DROP
> [root at localhost ~]# iptables -I OUTPUT -d 69.63.176.140 -j DROP
> [root at localhost ~]# service iptables restart
> iptables: Suppression des règles du pare-feu: [ OK ]
> iptables: Configuration des chaînes sur la politique ACCEP[ OK ]er
> iptables: Déchargement des modules: [ OK ]
> iptables: Application des règles du pare-feu: [ OK ]
> [root at localhost ~]# telnet www.facebook.com 80
> Trying 69.63.186.11...
> Connected to www.facebook.com.
> Escape character is '^]'.
you would need to check all the ip address.
dig facebook.com
gives some numbers
but
dig www.facebook.com
gives other addresses.
You would probable have to check all those, and the numbers could change.
You could also put a dummy record in hosts file for face book depending on
how the name resolution is done.
>
>
>
> Have you any idea why it does not work.
>
>
> regards
> Adel
>
>
>
> 2009/6/27 Adam Stokes <adam.stokes at gmail.com>
> On Sat, 27 Jun 2009 14:09:13 +0200
> Adel ESSAFI <adelessafi at gmail.com> wrote:
>
> > Hi list
> >
> >
> > I am using f11 and I want to deny the access to facebook in my
> > machine.
> >
> > I know that I have to use iptable but I find that very complicated.
> > Can some one help me.
> >
> > what commande should I use to make that.
> >
> > regards
> > Adel
> >
> >
> >
>
> iptables -I OUTPUT -d 69.63.178.11 -j DROP
> iptables -I OUTPUT -d 69.63.184.142 -j DROP
> iptables -I OUTPUT -d 69.63.176.140 -j DROP
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>
>
>
> --
> http://ilovefedora.blogspot.com/
>
> --
>
> PhD candidate in Computer Science
> Address
> BP 108, Bureau de poste Tunis republique
> 1001 Tunis
> Tunisia
> tel: +216 97 246 706
> fax: +216 71 391 166
+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:mikes at kuentos.guam.net
mailto:msetzerii at gmail.com
http://www.guam.net/home/mikes
Guam - Where America's Day Begins
+----------------------------------------------------------+
http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)
BOINC at HOME CREDITS
SETI 8,048,437.9754 | EINSTEIN 2,665,502.4609 | ROSETTA
992,359.8863
More information about the fedora-list
mailing list