Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/klutchell/balena-adguard
AdGuard Home is a network-wide software for blocking ads & tracking
https://github.com/klutchell/balena-adguard
adguard balena-adguard balenacloud balenacloud-web-dashboard dns
Last synced: 2 months ago
JSON representation
AdGuard Home is a network-wide software for blocking ads & tracking
- Host: GitHub
- URL: https://github.com/klutchell/balena-adguard
- Owner: klutchell
- Created: 2019-06-24T18:47:19.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T14:59:23.000Z (6 months ago)
- Last Synced: 2024-04-17T22:21:55.750Z (6 months ago)
- Topics: adguard, balena-adguard, balenacloud, balenacloud-web-dashboard, dns
- Language: Shell
- Homepage: https://adguard.com/en/adguard-home/overview.html
- Size: 227 KB
- Stars: 41
- Watchers: 5
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# balena-adguard
If you're looking for a way to quickly and easily get up and running with an AdGuard Home device for your home network, this is the project for you.
This project is a [balenaCloud](https://www.balena.io/cloud) stack with the following services:
- [AdGuard Home](https://adguard.com/en/adguard-home/overview.html) is a network-wide software for blocking ads & tracking.
balenaCloud is a free service to remotely manage and update your IoT devices through an online dashboard interface, as well as providing remote access to the AdGuard Home web interface without any additional configuation.
## Getting Started
You can one-click-deploy this project to balena using the button below:
[![deploy with balena](https://balena.io/deploy.svg)](https://dashboard.balena-cloud.com/deploy?repoUrl=https://github.com/klutchell/balena-adguard)
## Manual Deployment
Alternatively, deployment can be carried out by manually creating a [balenaCloud account](https://dashboard.balena-cloud.com) and application,
flashing a device, downloading the project and pushing it via the [balena CLI](https://github.com/balena-io/balena-cli).### Application Environment Variables
Application environment variables apply to all services within the application, and can be applied fleet-wide to apply to multiple devices.
| Name | Description |
| ---------------- | ---------------------------------------------------------------------------------------------------------------- |
| `TZ` | Inform services of the [timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) in your location |
| `SET_HOSTNAME` | Set a custom hostname on application start. Default is `adguard`. |
| `DNS_INTERFACES` | Optionally provide a space-separated list of interfaces to bind DNS. For example: `eth0 wlan0 tailscale0`. |
| `TS_AUTH_KEY` | [Tailscale auth key](https://tailscale.com/kb/1085/auth-keys) to join an existing Tailnet. Default is unset. |## Usage
### Initial setup
Once your device joins the fleet you'll need to allow some time for it to download the application.
Note that [joining an Open Fleet](https://www.balena.io/blog/introducing-open-fleets-and-self-submitted-apps-and-blocks-on-balenahub/#join-fleet) does not require a balena account nor does it add the device to your personal balena dashboard. If you would rather manage your device and fleet directly you can [fork this fleet](https://dashboard.balena-cloud.com/deploy?repoUrl=https://github.com/klutchell/balena-adguard).
1. Connect to `http://adguard.local` or if that doesn't work `http://YOUR-DEVICE-IP:80/install.html` in your browser
- `YOUR-DEVICE-IP` should be the IP assigned via DHCP from your home router, you can find this IP in your router interface.
2. Select `All interfaces` and port `80` for the Admin Web Interface listen interface
3. Select either `eth0` or `wlan0` and port `53` for the DNS server listen interface
4. Provide an admin username and passwordDocumentation for Adguard Home can be found at
It is recommended that you assign a static IP to your AdGuard Home device via you router or DHCP server if possible!
### Encryption setup
Check out the `letsencrypt` branch of this repo for instructions on using
certbot to automatically generate and renew SSL certificates.## Acknowledgments
Original software is by AdGuard: