I'am running on my Raspberry OpenVPN. On the same Raspberry is "dnsmasq" active.
How to setup the openvpn.conf to route the DNS request to the DNS servers which runs on the raspberry with dnsmasq?
My openvpn.conf:
dev tun
proto udp
port 1194
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
user nobody
group nogroup
server 10.8.0.0 255.255.255.0
persist-key
persist-tun
status /var/log/openvpn-status.log
verb 3
client-to-client
push "redirect-gateway def1"
#set the dns servers
push "dhcp-option DNS 8.8.8.8" -> Use of google! How to change?
push "dhcp-option DNS 8.8.4.4" -> Use of google! How to change?
log-append /var/log/openvpn
comp-lzo
duplicate-cn
keepalive 10 120
Thank you!