diff --git a/WireGuard.md b/WireGuard.md index bd85497..03076cd 100644 --- a/WireGuard.md +++ b/WireGuard.md @@ -2,7 +2,7 @@ ## How do I use Pi-hole with PiVPN? You can safely install PiVPN on the same Raspberry Pi as your Pi-hole install, and point your VPN clients to the IP of your Pi-hole so they get ad blocking, etc. -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 is as the DNS for the VPN, so you won't need to go through all these steps. +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. Create a new file `sudo nano /etc/dnsmasq.d/02-pivpn.conf` 2. Add `interface=wg0` inside to tell Pi-hole to listen on the VPN interface as well @@ -49,7 +49,7 @@ example using scp on linux: 1. Backup the current install: `sudo cp -r /etc/wireguard /etc/wireguard_backup` 2. Extract the backup archive: `tar xzpfv ` 3. Copy the extracted content: `sudo cp -r etc/wireguard /etc/wireguard` -4. Restart the wireguard service: `sudo systemcl restart wg-quick@wg0` +4. Restart the wireguard service: `sudo systemctl restart wg-quick@wg0` **OBS:** Please be aware of the difference between `/etc/` and `etc/`! /etc with the starting slash is a system directory