Enviado em 11/06/2013 - 09:05h
Enviado em 11/06/2013 - 10:54h
Marcelo,Enviado em 06/08/2013 - 13:02h
Enviado em 22/09/2013 - 19:37h
Enviado em 18/02/2014 - 17:22h
onde eu colo esta linha sou iniciante em linux.Enviado em 06/10/2014 - 15:15h
o bloqueio via string funciona, o problema é que bloqueia tbm os emails que tem link para face. Alguém conseguiu contornar?Enviado em 25/08/2015 - 08:12h
Segue as regras iptables para bloquear o Youtube e Facebook sem o bloquear o Google.
LAN=192.168.2.0/24 #substitui pelo o endereço da sua rede
iptables -A FORWARD -i eth0 -d $LAN -m string --algo bm --string "akamaihd.net" -j DROP #BLOQUEIA GERAL
iptables -A FORWARD -i eth0 -d $LAN -m string --algo bm --string "twitter.com" -j DROP #BLOQUEIA GERAL
iptables -A FORWARD -i eth0 -d $LAN -m string --algo bm --string "fbstatic-a.akamaihd.net" -j DROP #BLOQUEIA GERAL
iptables -t filter -A FORWARD -p tcp --dport 443 -m string --algo bm --string "youtube.com" -j DROP
iptables -t filter -A FORWARD -p tcp --dport 443 -m string --algo bm --string "facebook.com" -j DROP
Pesquisa de informática e sustentabilid... (0)
IMPOSTO DE RENDA 2021 [RESOLVIDO] (11)
Asterisk - Configurando Ramais, Plano de Discagem e URA Simples
Desabilitando o "Instant Messaging" no KDE Plasma
Deixando o Google Chrome em modo Dark no Linux - Experimental
Contador de Palavras no Terminal
instalar programas com wine (6)
A graça de se usar Linux é o desafio... (23)
Ambiente gráfico só inicia pelo startx (5)
KDE Plasma é a melhor interface do Linux? 5 motivos que fazem eu achar... (28)
[Tcl/Tk] Mostrar conexões de rede ativas
[Shell Script] Bashblog v3.0 - cria um microblog em HTML5
[Shell Script] Manutenção e limpeza do Linux
[Shell Script] ebook-cli - gerencia livros digitais entre PC e leitores ebooks
[Shell Script] AptList v1.1 - instalação de pacotes DEB a partir de uma lista