OpenVPN and Pi-Hole. Android clients unable to reach the network

Hi!
I succefully installed and configured pi-hole and i am able to use it in my local network.
Now i'd like to use it with my mobile devices when i'm away. So i tried to install openvpn. Unluckly i'm not able to use it with my android clients.
My opnvpn server is in the same machine where is running pi-hole, its address in my local network is 192.168.1.110

server.conf

port 1194
proto tcp
dev tun
ca /etc/openvpn/server/ca.crt
cert /etc/openvpn/server/homeserver.crt
dh /etc/openvpn/server/dh.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.1.0 255.255.255.0"
push "route 10.8.0.0 255.255.255.0"
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 192.168.1.110"
client-to-client
duplicate-cn
keepalive 10 120
cipher AES-256-CBC
auth SHA512
tls-version-min 1.2
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-DHE-RSA-WITH-AES-128-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA
user nobody
group nobody
persist-key
persist-tun
status /var/log/openvpn-status.log
log         /var/log/openvpn.log
verb 6

client.conf

client
dev tun
remote *******.** 1194 tcp
resolv-retry infinite
nobind
persist-key
persist-tun
verb 3
cipher AES-256-CBC
auth SHA512
tls-version-min 1.2
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-DHE-RSA-WITH-AES-128-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA
remote-cert-tls server
key-direction 1

Here's the result when i try to connect with my mobile device. The client was connecting as well with the server, but internet is unreachable.

In the server log i found some error like this

Sun Jun 18 14:11:44 2017 us=888154 client1/X.X.X.X:59350 MULTI: bad source address from client [X.X.X.X], packet dropped

Anybody can help me to find what my problem is?
If you need more just ask!

Thanks!

Hello,

In your server.conf file, try to modify the line: push "dhcp-option DNS 192.168.1.110" to: push "dhcp-option DNS 10.8.0.1" (your Raspberry Pi-hole IP)

Good luck!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.