PiHole Over L2TP/IPsec VPN

Hey Guys!

Do any of you have experience with PiHole over a L2TP/IPsec VPN hosted on a public VPS?
Obviously a public PiHole DNS server is a terrible idea so I created a VPN in front of it. All is working as expected however, I run into issues when multiple devices are connected at the same time.

I am thinking it has something to do with the VPN’s DHCP server. I was looking around to see if it’s possible to disable the VPN’s DHCP so I could just use the PiHole DHCP.
Does anyone know how to do that?


1 Like

@SonOfAMotherlessGoat might have some insight.

I actually ran it on a public server for several months, wide open. I felt like such a daredevil.


Just override your DHCP NS settings?

This would disable the VPN servers DHCP?
Or would it just force VPN connections to use the PiHole DNS server?

After all, YOLO, right?

Also, fixed the userclass. It had too many words.

1 Like

Nothing beats a real PieHole :yum: