4 ms·
Noob question, but is it possible to run both a VPN server and continue running Pihole on a RPi 4?
by Rafuino 7y ago
Noob question, but is it possible to run both a VPN server and continue running Pihole on a RPi 4?
- john_alan 7y agoI have a pihole instance with DHCP running too, on a Pi4 with DSVPN (my preferred lightweight VPN) no worries. and my load averages are like 0,0,0
- jethro_tell 7y agoalmost certainly. You'd just want to run the DNS out through the VPN tunnel.
- DavideNL 7y agoYes, definitely! Pihole is basically just a "pimped" dns server. So, to rephrase your question: "is it possible to run both a VPN server and continue running a dns server?"
- w0utert 7y agoIt works like a charm indeed, I run the WireGuard client on all my devices (laptop, phone, tablet) in on-demand activation mode (VPN activates whenever I leave my home WiFi), and configured them them to use the PiHole server as DNS, so I have ad-blocking on all my devices, all the time. I don't perceive any kind of negative effect on network performance (it helps to have fiber with symmetric up/down speeds for this setup)
- lobeze 7y agoIs it possible to set it up like this: I want to use mullvad VPN, so my IP/location is obfuscated, but still to have PiHole? So something like I connect my laptop and mobile to my router -> RPi -> mullvad VPN -> internet. If it is, how can I achieve it?
- pheug 7y agoWith Wireguard you set DNS server IP directly in the config file, it is not negotiable over the connection. So you can edit the config to set it to your pihole's ip. Or remove the DNS line altogether and then it won't touch your DNS settings at all.
- giancarlostoro 7y agoI run Pihole on my openHAB instance, so I don't see why not.
- jrace 7y agoIf you use dietPI on your raspberryPi you can easily install VPN, pihole, and much more.