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