- firewall bloqueando dns
+ Responder ao Tópico
-
-
firewall bloqueando dns
Fala aew Oswaldo...
olha cara..não sei se vai funcionar, mas eu vou passar aqui uma regra do Iptables liberando o DNS pra sua rede...
domain name server 192.168.2.27/24
network 192.168.2.0/24
iptables -A INPUT -p udp -s 192.168.2.0 --sport 1024:65535 -d 192.168.2.27 --dport 53 -j ACCEPT
iptables -A OUTPUT -p udp -s 192.168.2.27 --sport 53 -d 192.168.2.0 --dport 1024:65535 -j ACCEPT
talvez estejam faltando alguns parâmetros, ou esteja alguma coisinha errada, mas o básico de uma regra pra liberar DNS tá aí...ok?? :good:
só fique atento a uns dados importantes: DNS trabalha sobre o protocolo UDP na porta 53...
espero ter contribuído..
um abraço
-
firewall bloqueando dns
o -i lo tem que ta liberado pra todas as chains
abraço
-
firewall bloqueando dns
valeu pessoal pelas dicas .....
-
Re: firewall bloqueando dns
Tenta as regras abaixo e posta ai o resultado, tenta tambem com FORWARD ao inves de INPUT que e mais seguro tambem !!!
iptables -A INPUT -p tcp --dport 53 -j ACCEPT
iptables -A INPUT -p udp --dport 53 -j ACCEPT
Valeu !!!