Pi-hole + OpenVPN

Since many user have asked how to setup a VPN server on their Pi-hole in order to be able to use their Pi-holes from mobile, we have extended our OpenVPN wiki considerably. It provides step-by-step instructions for many topics raised on this platform in the past:

  • How to set up an OpenVPN server on the same device that is running Pi-hole?
  • How do I set up my client devices to connect to it?
  • How can I ensure that only DNS requests go through the VPN tunnel, but not my regular traffic?
  • How to properly configure a firewall?