Pi-hole on raspberry + OpenVPN on Synology issue


My goal would be to install Pi-hole on a Raspberry Pi, and setup a VPN on my Synology NAS.
Right now I managed to do the followings:

  • Setup Pi-Hole so it block ads for devices on my local network. (Except youtube)
  • Setup a VPN Server on my Synology.
  • I managed to connect to my VPN on my laptop and smartphone

The issue is that when a device connects through the VPN, it does not take advantage of Pi-hole.
Both my router and NAS are setup to use the Pi-hole DNS, but even so it does not work.
Has someone managed to make it work? What information do you need in order to help me?

Thanks a lot in advance.

Hey, have you find any solution for your problem? I am facing the same one right now.

Maybe i can revive this thread. Here is my debug link: https://tricorder.pi-hole.net/g1vit51w4y

I am using a Synology NAS with OpenVPN. Everything works perfect except for my Smartphone. I am receiving adds while connected via VPN. I have edited the VPNConfig.ovpn file so that my pihole IP is the dns


Hi, sorry. But I have not found any solution.

I resolved it. I had to change the OpenVPN config file like that:

dhcp-option DNS <PIHOLE.IP>

I had not the "DNS" in it.