K
K
keddad2019-08-14 12:22:09
openvpn
keddad, 2019-08-14 12:22:09

How to make DNS in Win10 work fine with OpenVPN?

Introductory:
* OpenVPN server, in whose performance there is no doubt
* several .ovpn files with identical configurations, except for keys
* full system performance on Ubuntu / Android
* DNS errors in Windows: OpenVPN establishes a connection, you can ping something by IP, but DNS does not work at all
The configuration looks like this:

client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote SOMEIP 80
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
setenv opt block-outside-dns
key-direction 1
verb 3
<ca>
-----BEGIN CERTIFICATE-----
SOMECERT
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
SOMECERT
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
SOMEKEY
-----END PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
SOMELEY
-----END OpenVPN Static key V1-----
</tls-auth>

What am I doing wrong and what logs can be useful in this situation? The OpenVPN client itself does not report errors.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question