DNS not working properly
-
I have created 2 OpenVPN servers on my pfSense box.
1 on UDP 1194
1 on TCP 443Both are setup to forward my pfSense box as DNS server (192.168.1.1).
I can connect to both servers without problems.
But when I'm connected to the TCP 443 OpenVPN server I cannot get DNS work.
"connection timed out; no servers could be reached"When connected to the UDP OpenVPN server I don't have this problem.
Both servers are setup the same, except for the listen port.
Wha could be the problem?
-
your not handing out dns in the tcp one.. Different firewall rules on your openvpn instance..
Make a connection using udp, look at the ipconfig /all of that client, look at its route print. Then do the same for the tcp connection. What interface of pfsense dns are you using? For example I point vpn clients to pfsense lan interface for dns.
-
I have "fixed" this.
Had to add the OpenVPN subnets to the allowed list for the DNS resolver. -
Yup the resolver has access list.. and remote networks would have to be allowed..