Wireguard-DNScrypt-VPN-Server

Fast setup wireguard server script, with dnscrypt and adblocking, maleware blocking, more blocking if you need. Use case eg. always on vpn and adblocking on ios or android, and be more secured in unknown networks.

View on GitHub

VPN-Server Wireguard DNScrypt AD-Block - Pi-Hole optional

Debian Ubuntu

https://hetzner.cloud/?ref=iP0i3O1wRcHu

Version 2025.08.04

major changes :

**Setup Wireguard VPN Server fast and easy - with **

How to install Debian 13 and Ubuntu 24.04 (optional: nextcloud):

Server x86_64 and ARM64 -
Pi-Hole or Nextcloud can only accessed with wireguard, it´s not puplic available. hope so …. ;)

With Pi-Hole and DNScrypt :

wget -O  pihole_dnscrypt_debian13_ubuntu24.sh https://raw.githubusercontent.com/zzzkeil/Wireguard-DNScrypt-VPN-Server/refs/heads/master/pihole_dnscrypt_debian13_ubuntu24.sh
chmod +x pihole_dnscrypt_debian13_ubuntu24.sh
./pihole_dnscrypt_debian13_ubuntu24.sh

DNScrypt with adblock only :

wget -O  dnscrypt_adblock_debian13_ubuntu24.04.sh https://raw.githubusercontent.com/zzzkeil/Wireguard-DNScrypt-VPN-Server/refs/heads/master/dnscrypt_adblock_debian13_ubuntu24.04.sh
chmod +x dnscrypt_adblock_debian13_ubuntu24.04.sh
./dnscrypt_adblock_debian13_ubuntu24.04.sh

@ the end you see the QR Code for your wiregaurd app.

How to add or remove clients :

run ./add_client.sh or ./remove_client.sh

How to backup or restore settings :

run ./wg_config_backup.sh or ./wg_config_restore.sh

Badge found and used from : github - Ileriayo - mark-down-badges