I have been trying to get my VPN server + Pi-Hole set-up work for over a week now and I’m having no luck at all. I used to have it set-up so that my older Pi 2B runs Pi-Hole and my Pi 3B+ runs the VPN server. However I recently re-purposed my 2B for something else and am now trying to get it both to work on the 3B+, in which I’m failing miserably.
My router does not have the ability to set a network wide DNS so I hand the DHCP off to Pi-Hole so I don’t have to set it on each and every device. When I install Pi-Hole first, it works perfectly fine. If I then install the L2TP VPN server, the DHCP from Pi-Hole will suddenly stop handing out leases and the network stops working. Then when rebooting the Pi, it doesn’t come back online until after I switch the DHCP on the router back on and reboot the pi once again.
The VPN server will work no matter what, I haven’t had any problems with it so far.
I know the combination of Pi-Hole and a VPN can be done with PiVPN but I don’t want to use a separate app or client to connect with my network when I’m on the go. L2TP works like a charm and out of the box on Android, iOS and Windows so I would really prefer to use it instead of OpenVPN. I use the VPN mainly to log into my network remotely, access my NAS and/or play games with friends on ‘LAN’ without having to use things like Hamachi. Being able to block ads through the VPN and preventing DNS leaks would be an added benefit but are not a necessity.
The L2TP set-up I’m using is this: https://gist.github.com/jhenkens/11190151
Which utilizes Softether as the VPN server.
Does anyone have any experience in getting this both to work on 1 device?