[HOME] [DOWNLOAD] [DOCS] [BLOG] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

Whonix Gateway + Windows. How to change DNS?


#1

Hello,

I installed a Windows System in Virtualbox and successfully managed to connect the Windows System to the Internet through Whonix Gateway (as mentioned in this Link https://www.whonix.org/wiki/Other_Operating_Systems#Windows-Whonix-Workstation). Now I want to change the DNS Server on the Windows System. I tried Proxyfier and Proxycap and changing the DNS Server in the Windows settings, but nothing seemed to work. I keep getting other DNS Servers, assuming that those are from the Whonix Gateway. I hope someone can help me here.

Greetings
Ziloper


#2

If internet of Windows through Whonix-Gateway is possible, what you need any proxyfier for?

Usually you don’t need this.

Note, the Tor network does not support UDP. -> https://www.whonix.org/wiki/Template:Tor_UDP

And DNS by default used UDP. (Tor’s DnsPort is a bit different. It accepts UDP DNS, sends it through normal Tor TCP to Tor exit relays, which do the DNS resolution.)

So you either need to tunnel UDP over Tor ( https://www.whonix.org/wiki/Tunnel_UDP_over_Tor ), or use a TCP aware DNS resolver. (Some information here, although not tailored for the Windows platform: https://www.whonix.org/wiki/Secondary_DNS_Resolver)


#3

On Whonix Workstation I used proxychains to change my DNS. Basically I want to hide that im using TOR, so I use a VPN. But the fact that my DNS always changes, makes the VPN kind of useless. So I want to change my DNS to a static DNS.

Thanks for your help


#4

If you are using a VPN inside the workstation (doing it right as per
documentation), then you already do hide the fact you are using Tor from
remote websites.


#5

It doesnt seem like it. If I am connecting to a VPN via OpenVPN my DNS seems to leak. It doesnt matter what I do. If I change the settings of the VPN the DNS leaks. And it always shows the TOR DNS of the Whonix Gateway.


#6

Fix your DNS settings.

Read and apply the documentation.

Better than adding a weak* workaround on top.

(* https://www.whonix.org/wiki/Using_Tunnels_with_Whonix#Proxyfier_Method )