docker-compose.yml
services:
redis:
image: redis:7.0.8-alpine
container_name: unbound-redis
command: redis-server --save 43200 1 7200 100 --loglevel warning --rdbchecksum no
volumes:
- "./redis:/data"docker-compose.yml
services:
redis:
image: redis:7.0.8-alpine
container_name: unbound-redis
command: redis-server --save 43200 1 7200 100 --loglevel warning --rdbchecksum no
volumes:
- "./redis:/data"Download Binary and place at /op/blocky (as per config) https://github.com/0xERR0R/blocky/releases/latest
Set up config.yml - https://github.com/AdroitAdorKhan/dnsServerLists/blob/main/configs/blocky.config.yml + google + cloudflare
sudo useradd -M blocky && sudo usermod -L blocky && sudo usermod -a -G blocky blocky
sudo chown blocky:blocky /opt/blocky/
default
Build unbound from source with cachedb support using redis as backend.
1. Download needed library components:
sudo apt install bison build-essential flex libevent-dev libexpat1-dev libhiredis-dev libmnl-dev libnghttp2-dev libprotobuf-c-dev libssl-dev libsystemd-dev libunbound-dev lsb-release protobuf-c-compiler python3-dev swig -y2. Install redis-server
| netsh interface ipv4 add dnsserver "Ethernet" 162.159.36.1 | |
| ipconfig /flushdns |
| 1. Install xcaddy - https://github.com/caddyserver/xcaddy (Install go first) | |
| 2. Install built caddy - https://caddyserver.com/docs/running#manual-installation | |
| - `/etc/systemd/system/caddy.service` https://github.com/caddyserver/dist/blob/master/init/caddy.service | |
| - `/etc/systemd/system/caddy-api.service` https://github.com/caddyserver/dist/blob/master/init/caddy-api.service | |
| 3. Done! |
Ever felt envious of those pretty green lock on sites like Github.com or Google.com? Ever wished to have one of those for services on your homelab? Well wish no more because I have a guide for you!
This guide is written for Ubuntu 16.04 server with domain registered on NameSilo and nameservers using Cloudflare. However it will work for any OS that Caddy supports (this includes Linux, Windows, macOS and many others on several architectures) and any other DNS provider with an API that Caddy supports.
| iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE | |
| iptables -t nat -A POSTROUTING -s 10.0.2.0/24 -o eth0 -j MASQUERADE | |
| # allow established sessions to receive traffic | |
| iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT | |
| # allow your application port | |
| iptables -I INPUT -p tcp --dport 443 -j ACCEPT | |
| iptables -I INPUT -p udp --dport 443 -j ACCEPT | |
| # allow SSH | |
| iptables -I INPUT -p tcp --dport 22 -j ACCEPT | |
| # Allow Ping |
adb is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
Instructions to obtain WireGuard details of your NordVPN account. These can be used to setup a WireGuard tunnel on your router to NordVPN.
Source: https://forum.gl-inet.com/t/configure-wireguard-client-to-connect-to-nordvpn-servers/10422/27
If you have any linux machine, use that or jnstall a vm if you don’t have one.
Get their official linux app installed. Make sure you have wireguard installed too.
v.éclairs
Energized also to run the script.v.pluot