Pi-Hole + WiFi Access point + VPN

Hi all, apologies for a question that i see keeps cropping up.
I can't find an answer i understand fully so i'm asking again.

Pi 3+B
Used as a WiFi access point
Pi is connected to router directly via ethernet
Connected traffic is then routed through a VPN server using OpenVPN
Interfaces on the device: tun0, wlan0, eth0
The access point runs on a separate IP range to my router: 192.168.100.1 instead of 192.168.0.1

I was hoping to add Pi-Hole to this device and avoid a third Pi sitting under the TV.

First guess is my setup needs dnsmsq which is disabled during install.
Maybe i can add a WiFi usb device to the Pi and route dns requests through that interface instead, leaving my other setup untouched?

Thanks in advance for any support or pointers.

Found a post suggesting...
""piHole installation backed up previous dnsmasq.conf in dnsmasq.conf.old and replaced with β€œconf-dir=/etc/dnsmasq.d”. So I just created a new β€œ.conf” file in /etc/dnsmasq.d and copied from /etc/dnsmasq.conf.old.""

Found this link for a WiFi access point using a Pi-Hole:

Not quite how i want my setup...
I want to host Pi-Hole on the same device but not incorporate it into the AP.
So i want to access the AP as normal through the WiFi (no Pi-Hole filtering) and also assign a different IP for DNS resolution on specific devices (home network only).

So, task for tomorrow is to work this all out. My reference links:

ok, so anyone wanting a Wireless Access Point (AP) on a Pi3 running Buster should follow:
https://www.raspberrypi.org/documentation/configuration/wireless/access-point-routed.md

I still have not worked out how to have a separate DNS server on the same device but not integrated into to the AP.
Now i have a working image i can Burn, Trash, Repeat until i work it out.

1 Like

Hope you will find it. I am looking for a solution for this issue, too. I can confirm that tutorial works on my Pi 4B. Fighting!!!

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