[Unbound-users] Unbound and firewall

Ricardo Fraile rfrail3 at yahoo.es
Thu Nov 29 15:43:29 UTC 2012


Hello, 



   I try to put iptables in the same server that unbound but I can't do a local resolv:

dig terra.es @127.0.0.1

; <<>> DiG 9.7.3 <<>> terra.es @127.0.0.1
;; global options: +cmd
;; connection timed out; no servers could be reached



whit this iptables rules:

:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [2271:2106405]
-A INPUT -s 30.0.0.0/8 -p tcp -j ACCEPT 
-A INPUT -s 30.0.0.0/8 -p udp -j ACCEPT 
-A INPUT -s 30.0.0.0/8 -p icmp -j ACCEPT 
-A INPUT -s 127.0.0.1/32 -p udp -j ACCEPT 
-A INPUT -s 127.0.0.1/32 -p tcp -j ACCEPT 
-A INPUT -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT 
-A INPUT -p tcp -m tcp --dport 53 -j ACCEPT 

-A INPUT -p udp -m udp --dport 53 -j ACCEPT 
-A INPUT -j DROP 
COMMIT



If I clean the firewall, all works, but why? Which ports use unbound for the queries?


Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20121129/d76d3f98/attachment.htm>


More information about the Unbound-users mailing list