Created
May 11, 2019 05:17
-
-
Save jakenology/b4679e9b941c863170e63acd6d2b0658 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## How I got it working | |
# Prerequestites | |
1. Golang | |
2. certbot | |
# Generating a certificate | |
# Stop lighttpd (pi-hole admin interface) | |
service lighttpd stop | |
certbot certonly --standalone -d <DOMAIN NAME> | |
# Create a mixed chain | |
cd /etc/letsencrypt/live/<DOMAIN NAME> | |
cat privkey.pem fullchain.pem > mixed.pem | |
# Clone Adguard/dns-proxy thing | |
cd into it | |
go build | |
move the binary to /usr/local/bin | |
# Running the server | |
dnsproxy --tls-port=853 --tls-crt=mixed.pem --tls-key=privkey.pem -u 127.0.0.1:53 -p 0 | |
# Testing int | |
You will need latest node.js | |
# The command | |
# Article https://sagi.io/2018/09/dns-over-tls---thoughts-and-implementation/ | |
npm i -g dnstls | |
dnstls @<SERVER IP> +tls-host=<DOMAIN NAME> doubleclick.net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment