rodpas
(usa Debian)
Enviado em 20/02/2014 - 09:01h
Galera existem alguns testes que fiz, mas sem sucesso. Talvez queiram tentar pois com mais cabeças pensando quem sabe!
1° TESTE no Firewall
# BLOQUEIO REDES WHATSAPP TESTE
for whatsapp in 184.173.136.76 184.173.136.83 184.173.136.82 184.173.136.67 50.22.210.155 184.173.136.74 50.22.210.143 208.43.96.4 50.22.210.152 184.172.19.64 50.23.142.173 184.173.136.80 208.43.244.170 208.43.244.174 184.173.136.81 184.173.136.75 50.22.210.137 184.172.19.94 184.173.136.70 50.22.213.141 184.173.136.94 50.22.210.144 50.22.210.158 208.43.96.7 50.23.142.175 50.22.210.149 50.22.210.146 184.173.136.77 50.22.227.222 208.43.244.169 50.22.227.224 50.22.210.32 50.22.210.134 184.173.136.84 50.22.235.125 208.43.244.171 50.22.210.151 50.22.210.142 184.173.136.71 184.173.136.86 50.23.142.169 184.173.136.91 50.22.210.148 184.173.136.89 50.23.142.163 50.22.210.131 50.22.210.154 184.173.136.66 50.22.210.145 50.22.227.220 50.22.213.140 184.173.136.69 50.22.235.124 50.22.210.33 184.173.136.68 208.43.244.168 184.173.136.85 184.173.136.88 184.173.136.72 50.22.210.147 208.43.96.5 184.172.19.71 50.22.210.150 184.173.136.93 184.173.136.73 50.22.210.136 184.173.136.87 184.173.136.64 184.173.136.65 50.23.142.160 50.23.142.162 184.173.136.79 50.23.142.190 174.37.240.116 50.22.227.227 50.22.235.127 50.22.210.129 50.22.210.133 50.23.142.168 50.23.142.176 184.173.136.90 184.172.19.79 184.172.19.65 184.172.19.81 184.172.19.95 50.23.142.191 50.23.142.170 50.23.142.180 184.173.136.95 208.43.244.172 50.23.142.174 50.22.210.135 184.172.19.84 184.172.19.89 50.22.198.205 50.22.210.141 208.43.244.175 50.22.213.143 184.172.19.70 50.22.210.159 184.172.19.92 50.22.210.138 50.22.203.212 50.22.210.132 184.172.19.69 208.43.97.156 50.22.227.225 50.23.142.182 184.172.19.66 50.22.210.130 208.43.96.6 50.22.213.142 50.22.210.153 50.22.210.128 50.22.235.126 184.172.19.86 50.23.142.181 50.23.142.177 50.23.142.161 50.22.227.226; do
$iptables -A FORWARD -s 192.168.0.0 -d $whatsapp -p tcp --dport 5222 -j DROP # teste
$iptables -A FORWARD -s 192.168.0.0 -d $whatsapp -p tcp --dport 5223 -j DROP # teste
done
#############################################################################################
2° Teste no Firewall
iptables -A OUTPUT -p tcp --dport xmpp-client -j DROP
iptables -A INPUT -p tcp --dport xmpp-client -j DROP
A porta usada é 5222 e 5223 e domínio whatsapp.net
##############################################################################################
Nas regras que executei ele parece sempre encontrar uma outra rede para liberar acesso!
Abraço!