HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

HAVP DNS error
http://havp.hege.li/forum/viewtopic.php?f=3&t=420
Page 1 of 1

Author:  amir [ 11 Apr 2009 20:04 ]
Post subject:  HAVP DNS error

Hi !
We set the users->HAVP->Internet on the network.
According to well configuration it worked nicely !
but occasionally it issued DNS error.
what should I do ?
Our system configuration is :
HAVP ver.0.89

Thanks in advance
Amir

Author:  hege [ 12 Apr 2009 10:51 ]
Post subject:  Re: HAVP DNS error

Do you have local caching DNS server, or do you use your ISP DNS server in resolv.conf? Maybe you get some timeouts.

If you have many users, it's recommended to use Squid with HAVP.

Author:  amir [ 12 Apr 2009 15:56 ]
Post subject:  Re: HAVP DNS error

thanks my problem has been solved . :)

I added following line to iptables output chain table:

######################$ dns output $######################
/sbin/iptables -A OUTPUT -p udp -m multiport --dport 53 -j ACCEPT

and added the following line to iptables input chain table:

######################$ dns input $######################
/sbin/iptables -A INPUT -p udp -m multiport --sport 53 -j ACCEPT

and added the following lines to iptables forward chain table:
######################$ dns $######################
/sbin/iptables -A FORWARD -s 192.168.0.0/24 -o WAN1 -p udp -m multiport --dport 53 -j ACCEPT
######################$ reversedns $######################
/sbin/iptables -A FORWARD -d 192.168.0.0/24 -o WAN2 -p udp -m multiport --sport 53 -j ACCEPT
havp doesn't have any problem with DNS... :lol:

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/