Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,567 Members 42,632 Now Online
XDA Developers Android and Mobile Development Forum

DNScrypt proxy for Android install

Tip us?
 
piscoo
Old
#11  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Jan 2011
Quote:
Originally Posted by <dexter> View Post
Did anyone got this one to work? I did all the steps mentioned but it seems that the resolv.conf is not being checked. I even try with apps to change dns settings (dnset, dnschanger..) it just seems that the dynamic dns assigment takes precedence, it keeps going to the dynamically assigned DNS server when on wifi and LTE. Aside from that I did not have any issues, dnscrypt runs fine with all arguments. I'm trying this on a Verizon Galaxy S5.
Yes, working here.
Had trouble with afwall though, but this post http://forum.xda-developers.com/show...22&postcount=8 helped me.

Script i've used:

Code:
$IPTABLES -t nat -D OUTPUT -p tcp --dport 53 -j DNAT --to-destination 127.0.0.1:53 || true
$IPTABLES -t nat -D OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:53 || true

$IPTABLES -t nat -I OUTPUT -p tcp --dport 53 -j DNAT --to-destination 127.0.0.1:53
$IPTABLES -t nat -I OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:53

$IPTABLES -A "afwall" --destination "208.67.220.220" -j RETURN
You can restrict the last line to only UDP 443 if you want.
Confirmed packets with tcpdump, blocked UDP 53 at my router.
 
Draygon
Old
#12  
Senior Member - OP
Thanks Meter 38
Posts: 299
Join Date: Jul 2011
Quote:
Originally Posted by piscoo View Post
Yes, working here.
Had trouble with afwall though, but this post http://forum.xda-developers.com/show...22&postcount=8 helped me.

Script i've used:

Code:
$IPTABLES -t nat -D OUTPUT -p tcp --dport 53 -j DNAT --to-destination 127.0.0.1:53 || true
$IPTABLES -t nat -D OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:53 || true

$IPTABLES -t nat -I OUTPUT -p tcp --dport 53 -j DNAT --to-destination 127.0.0.1:53
$IPTABLES -t nat -I OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:53

$IPTABLES -A "afwall" --destination "208.67.220.220" -j RETURN
You can restrict the last line to only UDP 443 if you want.
Confirmed packets with tcpdump, blocked UDP 53 at my router.
Could you please write a small, complete guide for the installation of DNScrypt? I still can't get it to work.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes