DonnyJohnny
Very Senior Member
New DNSCrypt v2 is here..
https://github.com/jedisct1/dnscrypt-proxy
For people who are interested in getting your hand dirty with this beta, my usual command to have a quick start below.
The precompiled binary is located at
https://github.com/jedisct1/dnscrypt-proxy/releases
Downland the arm version.
Environment I copy them to /jffs and beta 10. Modify to your needs.
Check your syslog.
It is recommended to create a swap file due to the program is resources hungry. I created my swap via ab-solutions or Skynet.
Personally some of my setting in toml file
daemonize = true
cache=false
Take note that installer in another thread by bigeye0x0 is working on it.
Read here.
https://www.snbforums.com/threads/dnscrypt-is-reborn.43869/page-5#post-374776
https://github.com/jedisct1/dnscrypt-proxy
For people who are interested in getting your hand dirty with this beta, my usual command to have a quick start below.
The precompiled binary is located at
https://github.com/jedisct1/dnscrypt-proxy/releases
Downland the arm version.
Environment I copy them to /jffs and beta 10. Modify to your needs.
Code:
wget https://github.com/jedisct1/dnscrypt-proxy/releases/download/2.0.0beta10/dnscrypt-proxy-linux_arm-2.0.0beta10.tar.gz -P /jffs
tar -zxvf /jffs/dnscrypt-proxy-linux_arm-2.0.0beta10.tar.gz -C /jffs && rm /jffs/dnscrypt-proxy-linux_arm-2.0.0beta10.tar.gz
Config the toml file
nano /jffs/linux-arm/dnscrypt-proxy.toml
(Listening port is 65053, not 53)
Move everything to /jffs/dnscrypt-proxy
cp -f /jffs/linux-arm/* /jffs/dnscrypt-proxy && rm -r /jffs/linux-arm
Create a simple bash script to start the app
nano /jffs/dnscrypt-proxy/start-dnscrypt.sh
Inside the sh file
#!/bin/sh
killall dnscrypt-proxy
logger -t dnscrypt-proxy "Starting DNSCrypt-proxy"
nohup /jffs/dnscrypt-proxy/dnscrypt-proxy -config /jffs/dnscrypt-proxy/dnscrypt-proxy.toml -loglevel 2 2>&1 | logger -t dnscrypt-proxy &
Save it.
Give exec right to sh file
chmod a+rx /jffs/dnscrypt-proxy/start-dnscrypt.sh
Add listening port to dnsmasq
nano /jffs/configs/dnsmasq.conf.add (If file not found, create it)
Add this and save it.
server=127.0.0.1#65053
server=::1#65053 (If u are using ipv6)
server=/pool.ntp.org/8.8.8.8
server=/raw.githubusercontent.com/8.8.8.8
Restart dnsmasq service
service restart_dnsmasq
Go your router GUI,
Set the Wan and IPv6, to Manual configure and leave dns 1 and dns 2 EMPTY.
You may now start the sh file
/jffs/dnscrypt-proxy/start-dnscrypt.sh
You need to add the sh file to firewall-start script to allow it to load up during reboot.
nano /jffs/scripts/firewall-start (If file not found, create it and give it exec right, chmod a+rx /jffs/scripts/firewall-start )
Add this along first line. ( all sh file must have "#!/bin/sh" at first line)
#!/bin/sh
/jffs/dnscrypt-proxy/start-dnscrypt.sh
Save it.
Check your syslog.
It is recommended to create a swap file due to the program is resources hungry. I created my swap via ab-solutions or Skynet.
Personally some of my setting in toml file
daemonize = true
cache=false
Take note that installer in another thread by bigeye0x0 is working on it.
Read here.
https://www.snbforums.com/threads/dnscrypt-is-reborn.43869/page-5#post-374776
Last edited: