i want to deny the access to facebook in my machine

Adel ESSAFI adelessafi at gmail.com
Sat Jun 27 13:22:40 UTC 2009


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 '^]'.



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090627/0703c4a6/attachment-0001.htm>


More information about the fedora-list mailing list