Dnscrypt on dd-wrt

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8
Author Message
t81
DD-WRT User


Joined: 04 Nov 2015
Posts: 59

PostPosted: Mon Jan 30, 2017 20:58    Post subject: Re: dnscrypt-proxy on tp-link archer c7v2 Reply with quote
Quote:
In the last KONG releases dnscrypt is already implemented. It can be enabled by GUI. So normally no need to upload anything.


I have a TP-Link Archer C7 V2
Current Firmware: DD-WRT v3.0-r30880 std (11/14/16)
I think my router is not KONG compatible
Sponsor
Trd64
DD-WRT Novice


Joined: 03 May 2016
Posts: 3

PostPosted: Sun Feb 26, 2017 9:01    Post subject: Reply with quote
Every time I try to enable dnscrypt it starts to work, but when the dns is flushed, it kills the vpn connection with PIA. Would anyone know why this is happening or how I can fix this? I am puzzled.... Question

Using Firmware: DD-WRT v3.0-r31205M kongac on an R7000

DNSMasq is enabled
Local DNS is enabled
No DNS Rebind is enabled
Query DNS in Strict Order is enabled
Use DNSMasq for DHCP is checked
Use DNSMasq for DNS is checked
DHCP-Authoritative is checked
Forced DNS Redirection is checked

Static DNS of 209.222.18.222 is used for PIA servers.

Firewall kill switch of

iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
iptables -I FORWARD -i br0 -o eth1 -j DROP
iptables -I INPUT -i tun0 -j REJECT
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE

Right now I can use it---but when I try to connect to outlook.com/xxxxxxx , another email address I use. It will give the following error.

This site can’t be reached

login.microsoftonline.com’s server DNS address could not be found.
Try running Windows Network Diagnostics.
DNS_PROBE_FINISHED_NXDOMAIN

Or, I will just get an error saying the vpntunnel failed

When I reboot the router---the vpn gives the following error in the admin page with opendns

Client: RECONNECTING init_instance
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1848
Location: Canada

PostPosted: Thu Aug 10, 2017 16:19    Post subject: Reply with quote
volitation wrote:
ptruman wrote:
Been done.
I found this earlier :

http://lancethepants.com/files/

It's a binary which runs happily on my WRT54GS V1.1


Works on E4200.


Currently I'm using dnscrypt-proxy 1.9.1 from the link above on a E3000 with build 33006.

I'm looking for the latest dnscrypt-proxy 1.9.5 to run on a E3000, any new links?

TIA!!

_________________
Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
James2k
DD-WRT Guru


Joined: 23 Oct 2011
Posts: 549

PostPosted: Thu Aug 10, 2017 19:27    Post subject: Reply with quote
Attached is the binary taken from Entware-ng which should work for mipsel.

Edit: Different version attached.



dnscrypt-1.9.5.zip
 Description:
Borrowed from OpenWRT

Download
 Filename:  dnscrypt-1.9.5.zip
 Filesize:  71.44 KB
 Downloaded:  273 Time(s)


_________________
James

Main router:

Netgear R7000 overclocked to 1.2GHz - DD-WRT v3.0-r35965M kongac

IPv6 6in4 (HE.net), OpenVPN (with PBR and split tunnelling), Entware, dnsmasq with ipset

Easy ipset support for the R7000

VPN speed: Download: 77.96 Mbps Upload: 5.00 Mbps (AES-128-CBC HMAC-SHA1)

Yes you can get 50 Mbps+ with OpenVPN on a R7000 if you configure it properly!

Previous routers:

ASUS RT-N66U - The Dark Knight
WNR2000v3 - Bought on the cheap for someone else, neutered crap
WNR3500Lv1 - First venture into the DD-WRT world


Last edited by James2k on Thu Aug 10, 2017 20:48; edited 2 times in total
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1848
Location: Canada

PostPosted: Thu Aug 10, 2017 20:15    Post subject: Reply with quote
James2k wrote:
Attached is the binary taken from Entware-ng which should work for mipsel.


I just tried it and it will not run, dnscrypt-proxy 1.9.1 is 286KB is size, the attached is only 155KB.

_________________
Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
James2k
DD-WRT Guru


Joined: 23 Oct 2011
Posts: 549

PostPosted: Thu Aug 10, 2017 20:45    Post subject: Reply with quote
Mmm. In theory it should work Entware-ng supports MIPS.

I've extracted the OpenWRT package version, give it a try, I don't have a MIPS router to test on. It might not work because of the toolchain differences.

You can install Entware-ng in order to easily install packages like dnscrypt-proxy and others:

https://github.com/Entware-ng/Entware-ng/wiki/Install-on-DD-WRT

You'll need a USB device configured for /opt before hand.

_________________
James

Main router:

Netgear R7000 overclocked to 1.2GHz - DD-WRT v3.0-r35965M kongac

IPv6 6in4 (HE.net), OpenVPN (with PBR and split tunnelling), Entware, dnsmasq with ipset

Easy ipset support for the R7000

VPN speed: Download: 77.96 Mbps Upload: 5.00 Mbps (AES-128-CBC HMAC-SHA1)

Yes you can get 50 Mbps+ with OpenVPN on a R7000 if you configure it properly!

Previous routers:

ASUS RT-N66U - The Dark Knight
WNR2000v3 - Bought on the cheap for someone else, neutered crap
WNR3500Lv1 - First venture into the DD-WRT world
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1848
Location: Canada

PostPosted: Fri Aug 11, 2017 7:10    Post subject: Reply with quote
James2k wrote:
Mmm. In theory it should work Entware-ng supports MIPS.

I've extracted the OpenWRT package version, give it a try, I don't have a MIPS router to test on. It might not work because of the toolchain differences.

You can install Entware-ng in order to easily install packages like dnscrypt-proxy and others:

https://github.com/Entware-ng/Entware-ng/wiki/Install-on-DD-WRT

You'll need a USB device configured for /opt before hand.


I wasted a lot of time trying to automount Ext3 (tried Ext2 & Ext4) with build 33006 on a E3000. In the end only FAT & NTFS would automount and used NTFS, I guess with the small flash the firmware was very trimmed down.

I installed Entware-ng on the NTFS USB 8GB Flash Drive then installed dnscrypt-proxy 1.9.5 and edited my startup. I tested dnscrypt-proxy and it's working fine.

Thanks James2k!!

_________________
Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8 Display posts from previous:    Page 8 of 8
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum