From a72afe353b6dce258da86fb3a326c1626257ec0f Mon Sep 17 00:00:00 2001 From: Orazio Date: Fri, 24 Jul 2020 14:50:23 +0200 Subject: [PATCH] Allowing queries only from the local subnet is enough for the functionality of PiVPN. --- WireGuard.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WireGuard.md b/WireGuard.md index b8e38cb..ec14485 100644 --- a/WireGuard.md +++ b/WireGuard.md @@ -5,11 +5,11 @@ You can safely install PiVPN on the same Raspberry Pi as your Pi-hole install, a Note that if you install PiVPN after Pi-hole, your existing Pi-hole installation will be detected and the script will ask if you want to use it as the DNS for the VPN, so you won't need to go through all these steps. -1. Edit the PiVPN configuration with `sudo nano /etc/pivpn/setupVars.conf` +1. Edit the PiVPN configuration with `sudo nano /etc/pivpn/wireguard/setupVars.conf` 2. Remove the `pivpnDNS1=[...]` and `pivpnDNS2=[...]` lines 3. Add this line `pivpnDNS1=192.168.23.211` to point clients to the PiVPN IP 4. Save the file and exit -5. Run `pihole -a -i all` to tell Pi-hole to listen on all interfaces +5. Run `pihole -a -i local` to tell Pi-hole to listen on all interfaces New clients you generate will use Pi-hole but you need to manually edit existing clients: 1. Open your configuration, for example whatever.conf