Page 1 of 1

Clients can connect but cannot resolve addresses

Posted: Thu Apr 20, 2017 1:52 am
by harboufax
I'm having issues getting my clients to resolve addresses once they are connected to my server. Clients will connect, and they can ping google, but will not resolve. Any help is appreciated, thanks.

Here is my server configuration:

port 1194
proto udp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
enable ip_forwarding
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 78.46.223.24"
push "dhcp-option DNS 162.242.211.137"
push "route 192.168.0.0 255.255.255.0"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem

And my client configuration:

client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote xxx.xxx.xxx.xxx - (public IP address)
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
comp-lzo
setenv opt block-outside-dns
key-direction 1
verb 3