[SOLVED] DNS for OpenVPN clients
pfSense 2.0. My lan is 192.168.1.0/24. My VPN is 10.8.0.0/24. I need clients to be able to resolve local names and internet. But how can I allow the DNS server to answer to queries from 10.8.0.0/24? I push 192.168.1.1 as DNS server. Firewall isn't blocking traffic from 10.8.0.0/24 to 192.168.1.1:53. But doing DNS requests on VPN client, I receive:
DNS request timed out.
timeout was 2 seconds.
How can I allow my DNS server to answer to queries from OpenVPN?
Ok, I think I solved my problem.
I push 10.8.0.1 (my VPN gateway) as DNS server and I redirect UDP traffic destination 10.8.0.1:53 to 127.0.0.1:53. It seems to work.
I am having this problem too (I am trying to resolve ping system1 to an IP; ping 192.168.1.100 works fine which is the IP for system1), I am new but I am struggling with how you "redirect" the traffic that you are after. Do you have a seperate VLAN for your VPN? I have my VPN only specified in the openVPN page with an address pool specified at 192.168.3.0/24 and I pushed a DNS option of 192.168.3.1 to the clients.
I am not quite sure where this redirect setting would go, any help would be much appreciated.
Unlocked by dmenezes message:
its possible to you to unlock a topic which is marked as solved, but it has not the right answer and I would put the right solution to solve the problem!
To solve this problem you can override an entire domain by specifying an authoritative DNS server to be queried for your local domain!
the last option…