1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-23 00:08:37 +00:00
NetGuard/app
M66B 0d61d804d8 Native experiment: route DNS traffic into dnscrypt-proxy
Setup:

- download dnscrypt-proxy compiled for Android from https://dnscrypt.org/
- copy the following files to /system/xbin using recovery:

-rwxr-xr-x root     root       224320 2016-02-03 14:44 dnscrypt-proxy
-rwxr-xr-x root     root       130432 2016-02-03 14:40 hostip
-rwxr-xr-x root     root       268196 2016-02-03 14:40 libsodium.so

- make these files executable (chmod 755)
- copy dnscrypt-resolvers.csv to /sdcard//Download/dnscrypt/
- run this script from the shell:

export LD_LIBRARY_PATH="/system/xbin"
dnscrypt-proxy -a127.0.0.1:5353 --loglevel=7 --resolver-name="dnscrypt.org-fr" --resolvers-list=/sdcard//Download/dnscrypt/dnscrypt-resolvers.csv

- make sure you set an IPv4 DNS server in NetGuard
- note that Android caches DNS responses for 10 minutes
- profit!

Refs #272
2016-02-03 15:47:45 +01:00
..
src/main Native experiment: route DNS traffic into dnscrypt-proxy 2016-02-03 15:47:45 +01:00
.gitignore
app.iml Revert "Preference compat" 2016-02-01 17:42:36 +01:00
build.gradle 0.82 beta 2016-02-03 11:59:28 +01:00
proguard-rules.pro Native experiment: route DNS traffic into dnscrypt-proxy 2016-02-03 15:47:45 +01:00