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

Orazio 2020-07-24 14:49:51 +02:00
parent 4eead6b9bc
commit 3b3dd8dd90

@ -10,7 +10,7 @@ Note that if you install PiVPN after Pi-hole, your existing Pi-hole installation
3. Add this line `push "dhcp-option DNS 192.168.23.211"` to point clients to the PiVPN IP 3. Add this line `push "dhcp-option DNS 192.168.23.211"` to point clients to the PiVPN IP
4. Save the file and exit 4. Save the file and exit
5. Restart openvpn with `sudo systemctl restart openvpn` 5. Restart openvpn with `sudo systemctl restart openvpn`
6. Run `pihole -a -i all` to tell Pi-hole to listen on all interfaces 6. Run `pihole -a -i local` to tell Pi-hole to listen on all interfaces
## How do I change the public IP/DNS name of the PiVPN after the install? ## How do I change the public IP/DNS name of the PiVPN after the install?
You will need to change `/etc/openvpn/easy-rsa/pki/Default.txt` and your `.ovpn` files if you have already generated them. You will need to change `/etc/openvpn/easy-rsa/pki/Default.txt` and your `.ovpn` files if you have already generated them.