Skip to content

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.

License

Notifications You must be signed in to change notification settings

zzzkeil/Wireguard-DNScrypt-VPN-Server

Repository files navigation

VPN-Server Wireguard DNScrypt AD-Block x86 / arm64

Debian

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

Version 2025.07.05

major changes :

  • X86_64 and ARM64
  • Debian 13 for now the only one .....
  • Nextcloud shoud be working ... after 1 year testing/using :)
  • apt changed to apt-get ... better ???
  • add Threat Intelligence Feeds to Blocklist
  • all other things i forgot :)

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

  • on X86_64 or ARM64 systems
  • DNScrypt with anonymized_dns / DNSSEC
  • Ad-, Maleware-, ..., Blocking
  • 3 config files for your clients
  • add or remove clients with add_client.sh / remove_client.sh
  • backup, restore and unistall options

How to install Debian 13 only (optional: nextcloud):

Server x86_64 and ARM64 -
Nextcloud can only accessed with wireguard, it´s not puplic available. hope so .... ;)
wget -O  wireguard_dnscrypt_debian13_setup.sh https://raw.githubusercontent.com/zzzkeil/Wireguard-DNScrypt-VPN-Server/refs/heads/master/wireguard_dnscrypt_debian13_setup.sh
chmod +x wireguard_dnscrypt_debian13_setup.sh
./wireguard_dnscrypt_debian13_setup.sh
  • Copy the lines above, execute and follow the instructions
  • Use a fresh / clean server os > Debian 13 :
  • My script base_setup.sh need to installed -> repository
    • if not installed, base_setup.sh will downloaded for you, just follow the instructions.
  • Optional: Nextcloud can be installed afterwards

@ 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

Ubuntu Fedora Rocky Linux Cent OS Alma Linux

( outdated 2025 ) How to install other :

Server x86_64 and ARM64 - Debian 12, Ubuntu 22.04, Fedora 38, Rocky Linux 9, CentOS Stream 9, AlmaLinux 9:
wget -O  wireguard_dnscrypt_setup.sh https://raw.githubusercontent.com/zzzkeil/Wireguard-DNScrypt-VPN-Server/master/wireguard_dnscrypt_setup.sh
chmod +x wireguard_dnscrypt_setup.sh
./wireguard_dnscrypt_setup.sh
  • Copy the lines above, execute and follow the instructions
  • Use a fresh / clean server os > Debian 12, Ubuntu 22.04, Fedora 38, Rocky Linux 9, CentOS Stream 9, AlmaLinux 9:
  • My script base_setup.sh need to installed -> repository
    • if not installed, base_setup.sh will downloaded for you, just follow the instructions.

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Languages