Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenVPN + Dnscrypt panic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
yx681745
n00b
n00b


Joined: 29 Dec 2017
Posts: 10

PostPosted: Fri Mar 02, 2018 2:06 pm    Post subject: OpenVPN + Dnscrypt panic Reply with quote

Hello, I used OpenDns + Dnscrypt on windows and it works well enough to bypass China firewall
However, when I tried to follow the guide https://wiki.installgentoo.com/index.php/DNSCrypt and merged the Dnscrypt-2.00 package and try to start dnscrpt-proxy, it saied It cant find dnscrypt.toml
Also I use NetworkManager. Even after diabling it writing resolv.conf the configuration is still a huge panic.
How can I get the right configuation to get Dnscrypt and OpenDNS work?
Back to top
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Wed Mar 28, 2018 9:10 am    Post subject: Reply with quote

Hi.

You find the dnscrypt-proxy configuration in /etc/dnscrypt-proxy/dnscrypt-proxy.toml
If you want to restrict it to only using OpenDNS, you need to add a line with:
Code:
server_names = ['cisco']


(or uncomment and edit the existing line). It's line 25 in my file.

'cisco' is the name for OpenDNS in dnscrypt-proxy.
You can see the list of servers and their names here:

https://github.com/dyne/dnscrypt-proxy/blob/master/dnscrypt-resolvers.csv
Back to top
View user's profile Send private message
n05ph3r42
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 134

PostPosted: Tue Apr 03, 2018 7:42 pm    Post subject: Re: OpenVPN + Dnscrypt panic Reply with quote

yx681745 wrote:
Hello, I used OpenDns + Dnscrypt on windows and it works well enough to bypass China firewall
However, when I tried to follow the guide https://wiki.installgentoo.com/index.php/DNSCrypt and merged the Dnscrypt-2.00 package and try to start dnscrpt-proxy, it saied It cant find dnscrypt.toml
Also I use NetworkManager. Even after diabling it writing resolv.conf the configuration is still a huge panic.
How can I get the right configuation to get Dnscrypt and OpenDNS work?


Check this https://forums.gentoo.org/viewtopic-t-1076052.html and this https://forums.gentoo.org/viewtopic-t-1075746.html
btw, beware that even with dnscrypt-proxy browser still leaks the domain name via SNI extension, even though it runs over https.
Back to top
View user's profile Send private message
n05ph3r42
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 134

PostPosted: Tue Apr 03, 2018 7:55 pm    Post subject: Reply with quote

Ah, as for
Quote:
cant find dnscrypt.toml
- by default dnscrypt-proxy 2.0 looks for cfg in current dir (not like v.1, i even reported a bug, but dev's say that i should specify config via parameter, and that is not a bug), so u should run it after
Code:
cd /etc/dnscrypt-proxy/
or specify cfg in cmd line.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21623

PostPosted: Wed Apr 04, 2018 2:00 am    Post subject: Re: OpenVPN + Dnscrypt panic Reply with quote

n05ph3r42 wrote:
btw, beware that even with dnscrypt-proxy browser still leaks the domain name via SNI extension, even though it runs over https.
Although true, there was a similar problem before SNI was widely used. Prior to use of SNI, servers had to guess which certificate to send. The CN of the sent certificate would be visible in the clear. If you care about name privacy, you cannot allow an attacker to observe any TCP traffic between you and the server.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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