I am trying to use Whonix Gateway 13.0.0.1.1 in an VM, but I couldn’t get it working.
The settings are default. I always get this error after WhonixCheck:
Hosts internet is working.
I live in middle europe, normally there is nothing censored.
I found out that it could be in a relationship with the clock???
The clock of the host and of whonix are now nearly perfect equal.
But it didn’t change anything. I still get the same error.
The hosts (Windows 10) clock is set over Microsoft’s time server.
When I tried a connection to check.torproject.org nothing happened (is there even a timeout?).
Removing write protection from /etc/resolv.conf gave the error “Operation not supportet while reading flags on /etc/resolv.conf”.
Restarting networking gave the error “Could not find the database of available in /usr/sbin/service”.
The nameserver of /etc/resolv.conf isn’t 10.0.2.2, it’s 127.0.0.1 for me (localhost).
The dns lookup for google timed out.
VirtualBox settings are all default. And yes, its NAT on eth0.
Even wih a sudo at the chattr command I get the error:
“chattr: Operation not supported while reading flags on /etc/resolv.conf”
I already imported the .ova file mutiple times, it’s not working on any machine.
chattr doesn’t work on symlinks (but not needed anyway - +i is not set)
dhcp does not overwrite resolv.conf
not sure if you want to advise manually editing resolv.conf
This command doesn’t rely on dns: UWT_DEV_PASSTHROUGH=1 curl --tlsv1.2 --proto =https -H 'Host: check.torproject.org' -k https://138.201.14.212
If it doesn’t work, then you have no TCP connectivity in your Gateway VM.
You need to install a non-Whonix VM - linux, windows, etc - and see if networking works in virtualbox at all. No point discussing further until you do this.
Result:
curl: (7) Failed to connect to 138.201.14.212 port 443: No route to host
I have multiple other VM’s, like Windows 7, Ubuntu and Linux Mint. Every machine has a working internet connection when set to NAT on eth0.
It’s just the Whonix-VM which won’t work.
The network adapters are activated.