Skip to main content

AdGuard

Setting Up AdGuard Home

AdGuard Home is a network-wide ad and tracker blocking DNS server. It's a useful addition to a homelab for enhancing privacy and security.

1. Creating the LXC Container

  1. Create a new Debian Bookworm LXC container on your Proxmox VE host.
    • You can do this through the Proxmox VE web UI.
    • Allocate sufficient resources to the container (e.g., 1 CPU core, 512MB RAM, 8GB storage).

2. Installing AdGuard Home

  1. Log in to the LXC container's shell.

  2. Run the AdGuard Home installation script:

    wget --no-verbose -O - https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v
    

3. Configuring AdGuard Home

  1. Access the AdGuard Home web interface:

    • Once the installation is complete, you can access the AdGuard Home web interface by navigating to http://<your-lxc-ip>:3000.
  2. Follow the on-screen instructions to complete the initial setup.

    • This will include setting up an admin user and password.

4. Configuring DNS Rewrite Rules

To resolve local domain names, you can add DNS rewrite rules in AdGuard Home.

  1. Navigate to Filters > DNS Rewrite.

  2. Add a new rule for your local domain:

    • Domain: *.yourdomain.com
    • IP Address: <your-nginx-proxy-manager-ip>

    This will ensure that all requests to *.yourdomain.com are resolved to your NGINX Proxy Manager instance, which will then handle the routing to the appropriate service.

Next Steps

With AdGuard Home set up, you can now proceed to configure NGINX Proxy Manager.

► NGINX Proxy Manager