Excellent Guide
Code:
cd /etc/dnsmasq.de
sudo touch 10-general.conf
sudo nano /etc/dnsmasq.d/10-general.conf
Insert line:
Finally, I was required to re-start both services:
Code:
sudo /etc/init.d/openvpn restart
sudo /etc/init.d/dnsmasq restart
Alternatively, I could certainly simply have rebooted the Raspberry Pi.
This was an excellent guide and helped me setup Pihole and PiVPN on the same Pi running stable.
Just a few issues I came across were. On the 4rth set of code, are you sure about the file name ?
1) It says "cd /etc/dnsmasq.de" , but I was able to access the directory only when i edited the file name to "dnsmasq.d "
2)When I tried restarting the dnsmasq, it returned an error saying "sudo: /etc/init.d/dnsmasq: command not found" , but as you mentioned, the alternate way of doing this was to restart the Pi (could this be because i'm running Raspbian Buster and Test version of PiVPN ?). This worked well.
Overall really good guide and it helped me a lot. Thanks to you and Mike Kuketz.
Regards,
Aneesh