Allowing queries only from the local subnet is enough for the functionality of PiVPN.

Orazio 2020-07-24 14:50:23 +02:00
parent 3b3dd8dd90
commit a72afe353b

@ -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