/vpn-with-ad-filtering

Docker stack containing WireGuard VPN, AdGuard Home, Unbound

Primary LanguageShell

This repository is DEPRECATED. Use this instead: https://github.com/lentil32/wireguard-with-adguard

Installation

Initiate cloud environment.

Run the command: chmod +x init_cloud.sh && ./init_cloud.sh The script includes the following:

  • Set timezone
  • Set auto update
  • Install kernel headers
  • Install Docker Compose. After finishing running all the scripts, the instance will be automatically rebooted. Then, run docker stack with docker-compose up -d

How to Connect

How to get credential for connecting

  1. Allow UDP 51820 port in firefwall.
  2. Run following commands:
chmod +x get_peer.sh # make `get_peer.sh` executable.
./get_peer.sh <number> # get peer QR code.

Using WireGuard mobile app to recognize QR code, you can connect to the VPN.

How to set AdGuard Home

Reference