Re: i want to deny the access to facebook in my machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Hi
thanks,
But actually, it does not work

[root@localhost ~]# iptables -I OUTPUT -d 69.63.178.11 -j DROP
[root@localhost ~]# iptables -I OUTPUT -d 69.63.184.142 -j DROP
[root@localhost ~]# iptables -I OUTPUT -d 69.63.176.140 -j DROP
[root@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@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@xxxxxxxxx>
On Sat, 27 Jun 2009 14:09:13 +0200
Adel ESSAFI <adelessafi@xxxxxxxxx> 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@xxxxxxxxxx
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
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux