Re init git

This commit is contained in:
ookangzheng
2019-08-04 00:25:17 +08:00
commit a9fadc5d00
67 changed files with 1580436 additions and 0 deletions

28
client-conf/stunnel.md Executable file
View File

@@ -0,0 +1,28 @@
## Stunnel
stunnel is an open-source multi-platform application used to provide a universal TLS/SSL tunneling service. stunnel can be used to provide secure encrypted connections for clients or servers that do not speak TLS or SSL natively.
```bash
$ sudo apt install stunnel4
$ sudo sed -i -e "s/ENABLED=0/ENABLED=1/" /etc/default/stunnel4
cd /etc/stunnel
nano blahdns.conf
// blahdns.conf
debug = err
[blahdns-dns]
client = yes
accept = 127.0.0.1:5353
connect = 108.61.201.119:853 #Japan
# connect = 159.69.198.101:853 #Germany
verifyChain = yes
CApath = /etc/ssl/certs
checkHost = dot-jp.blahdns.com
# checkHost = dot-de.blahdns.com
````
### Test
```bash
dig @127.0.0.1 -p 5353 www.google.com +tcp
```