I changed like you said...On vpn server (debian) is installed bind9 for dns server
Vpn server is attached to the router,i opened port 53 to the local ip address of vpn server (192.168.1.5)
/etc/bind/named.conf.options:
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See
http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
208.67.222.222; ##OpenDNS
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
The DNS server is working because if I try to use it locally(LAN) it works! But now clients connect but do not open web pages!