I am having trouble using sys-whonix in front of a Windows 11 TemplateVM. The instructions on the whonix documentation in the “After Windows installation” section, is quite wrong.
The instructions say
Check the IP address allocated to the qube - either from GUI Manager, or via qvm-ls -n WindowsNew from a dom0 terminal (e.g., 10.137.0.x with gateway 10.138.y.z).
For me on my Windows 11 TemplateVM using sys-firewall as my Net qube, that would be this:
IP: 10.137.0.37
Netmask: 255.255.255.255
Gateway: 10.138.37.150
Virtual DNS: 10.139.1.1, 10.139.1.2
In the Windows qube, open the Network Manager and change the IPv4 configuration of the network interface from “Automatic” to “Manual”.
In Windows 11 it looks more like this when I do it:
Windows > Settings > Network & internet > Advanced network settings > Ethernet > IP assingment: Edit > Edit IP settings: Manual > IPv4: On
The instructions continue:
Enter the Address: 10.137.0.x in our example.
Enter the Netmask: 255.255.255.0
Enter the Gateway: 10.138.y.z in our example.
Enter DNS: 10.139.1.1,10.139.1.2 (the Virtual DNS addresses used by Qubes.
When I do it, the final result looks like this from “IPv4: On manual settings” in Windows 11:
IP address: 10.137.0.37
Subnet mask: 255.255.255.0
Gateway: 10.138.37.150
Preferred DNS: 10.139.1.1
Alternate DNS: 10.139.1.2
The instructions continue:
Click “Apply”. You should now see “Connected”.
In Windows 11, there is no “apply” button, instead there is a “save” button. So the instructions should be update to reflect this:
Click "Save". Your network should now connect.
My problem that I am having, is after doing all of this and manually changing my Windows 11 network settings, I still get no internet in Windows 11, while using sys-whonix as my Net qube. Why? Are my settings incorrect? Are the instructions incorrect? What must I do to get windows connecting through the sys-whonix gateway?