Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m0zgen/blocky-installer
🧩 Install Blocky on to CentOS, Fedora, Debian, Ubuntu Linux
https://github.com/m0zgen/blocky-installer
Last synced: about 1 month ago
JSON representation
🧩 Install Blocky on to CentOS, Fedora, Debian, Ubuntu Linux
- Host: GitHub
- URL: https://github.com/m0zgen/blocky-installer
- Owner: m0zgen
- Created: 2021-08-20T13:50:55.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-08T11:29:40.000Z (5 months ago)
- Last Synced: 2024-08-08T13:05:10.850Z (5 months ago)
- Language: Shell
- Homepage:
- Size: 34.2 KB
- Stars: 15
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blocky installer
Supported and tested on distros:
* CentOS 7/8, Fedora 35
* Debian 11, Ubuntu 20## What is Blocky
Blocky is a DNS proxy and ad-blocker for the local network written in Go.
Official repository:
* https://github.com/0xERR0R/blocky.git
* Official [installation](https://0xerr0r.github.io/blocky/installation/) manual## Installer features
`installer.sh` it is a bash script for install [Blocky](https://github.com/0xERR0R/blocky.git) to:
* Blocky will installs as systemctl unit service to `/opt/blocky` catalog as default.
* After install Blocky works under regular `blockyuser` user._Note: All features tested. deployed and using on CentOS 7/8, Fedora 35, Debian 11, Ubuntu 20_
## Features
* Install from scratch to rpm based distros
* Steb-by-step installer
* Automate installer (CentOS/Fedora)
* Detect and download latest `blocky` release from official repo
* Install under simple user
* New user creation
* Allow to user using privileged ports (aka 53) without sudo
* Allow to user start, stop, enable, disable `blocky` service
* Create `systemctl` unit service
* Generate simple `config.yml`
* Reinstall `blocky`
* Uninstall `blocky`
* Backup `blocky`
* Install additional software (optionally for CentOS/Fedora):
* Cloudflared
* Cerbot
* Nginx
* Add restarter script## Sync configs (testing)
After install Blocky you can use sync feature to download or upload config to remote server over ssh connection with `sync.sh`.
In first run `sync.sh` will ask:
* Remote server IP
* Remote server port
* Remote server ssh user nameThen will try copy ssh key to remote server with `ssh-copy-id`, after that you can run script again and `sync.sh` will copy `cinfig.yml` from remote server to local `/opt/blocky` folder.
You can also configure the scheduler with crontab (as example):
```bash
*/30 * * * * /bin/bash /home/blockyusr/sync.sh
```## Install Prometheus Stack
Additionally you can install Prometheus stack to you own CentOS 8 server:
* Prometheus
* Node Exporter
* GrafanaSee more info on this repository:
* https://github.com/m0zgen/install-prometheus-stack## DNS Testing
You can define DNS servers list and will test response speed with statistics - average, min, max response time:
* https://github.com/m0zgen/dns-tester### TODO's
TODO add diff compare procedure fro syncing