Clients can connect but cannot resolve addresses

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
harboufax
OpenVpn Newbie
Posts: 1
Joined: Thu Apr 20, 2017 1:48 am

Clients can connect but cannot resolve addresses

Post by harboufax » Thu Apr 20, 2017 1:52 am

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

Post Reply