# wget -4 https://download.whonix.org/libvirt/17.0.3.0/Whonix-Xfce-17.0.3.0.Intel_AMD64.qcow2.libvirt.xz
# unxz Whonix-Xfce-17.0.3.0.Intel_AMD64.qcow2.libvirt.xz
# tar xvf Whonix-Xfce-17.0.3.0.Intel_AMD64.qcow2.libvirt
qm importdisk 1160 Whonix-Gateway-Xfce-17.0.3.0.Intel_AMD64.qcow2 ssd1
please share their specs...may be theirThen create two VMs. Import the relevant images into them. Likeqm importdisk 1160 Whonix-Gateway-Xfce-17.0.3.0.Intel_AMD64.qcow2 ssd1
qemu machine configs
?Why the gateway needs two NICs? what are each of their purpose?The gateway needs two NICs, the Workstation is fine with a single one.
what are the key take aways around local network settings?As I have fiddled around with my local networks settings I can not easily deliver a "howto" for everyone...
Cheers for this...will bear in mind...The most important command in both VMs was to not forget to change the password of the "local" user
If you think it helps, here it comes:please share their specs...may be theirqemu machine configs
?
agent: 1
boot: order=ide0
cores: 4
cpu: x86-64-v2-AES
ide0: ssd1:vm-1160-disk-0,size=100G
memory: 2048
meta: creation-qemu=8.0.2,ctime=1697218012
name: whgw
net0: virtio=4E:9C:70:E5:25:5F,bridge=vmbr2,firewall=1
net1: virtio=E6:08:CC:F8:73:73,bridge=vmbr10,firewall=1
numa: 0
ostype: l26
parent: auto-h-231015090759
scsihw: virtio-scsi-single
smbios1: uuid=643b57de-848e-415c-a945-4b1ffc264a81
sockets: 1
vmgenid: b1791e98-1cda-46bb-a741-2257344f5b86
agent: 1
boot:
cores: 4
cpu: x86-64-v2-AES
ide0: ssd1:vm-1162-disk-1,aio=threads,size=100G
ide2: none,media=cdrom
memory: 4096
meta: creation-qemu=8.0.2,ctime=1697218507
name: whwsa
net0: virtio=7E:A9:F7:E6:49:F2,bridge=vmbr10,firewall=1
numa: 0
ostype: l26
parent: auto-h-231015090802
scsihw: virtio-scsi-single
smbios1: uuid=280a4824-8168-4c44-8251-927d0662ec00
sockets: 1
vmgenid: 362224fb-37d9-4790-95d3-14d91fae96fe
The only special feature and the whole point of the Whonix concept is to create a workstation which has no "normal" access to the internet. It is forced to route its traffic through a special router (the Whonix Gateway).Why the gateway needs two NICs? what are each of their purpose?
10.152.152.11/18
10.152.152.10/18
/18
is unclear to me. I do not plan to have 16384 computers in that specific network...)Actually... nothing.what are the key take aways around local network settings?
I already haveThe only special feature and the whole point of the Whonix concept is to create a workstation which has no "normal" access to the internet. It is forced to route its traffic through a special router (the Whonix Gateway).
pfSense
managing my network using different VLANs
. I can get internet access in a completely isolated VLAN for both gateway and the workstation
. or create a bridge in pfSense...any thoughts?I agree, but you could try to have normal /24 network and it should work...??(The origin and the reason of the netmask/18
is unclear to me. I do not plan to have 16384 computers in that specific network...)
I am also inclined to create a simpleThose two ISOLATED NICs need to be able to talk directly to each other. For this just create an empty bridge, without (!) a physical NIC.
bridge
in proxmox
and use it as a local network between gateway and the workstation.Could you explain the steps you took to make sure workstation won't send it's traffic to the gateway/internet using the LAN side NIC?Please note that in my example setup the workstation is not reachable from my LAN. To achieve this I would add a second NIC to the Workstation and be very careful not to allow outgoing traffic through that NIC. So this configuration is only usable through the PVE-WebGui graphical Console.
You can build the topology as complicated as you wishI already havepfSense
managing my network using differentVLANs
. I can get internet access in a completelyisolated VLAN for both gateway and the workstation
. or create a bridge in pfSense...any thoughts?
The network connection between Whonix Gateway and Workstation is a very normal one, there is no magic involved. So yes, I would expect it to work with any usual network config, including a "/24".I agree, but you could try to have normal /24 network and it should work...??
/etc/network/interfaces.d/30-non-qubes-whonix
(on both the workstation and gateway).The Workstation has only one NIC. The only other device on this network is the Whonix Gateway. So the Workstation can only send data to that Whonix Gateway. All other devices in my home, including my real gateway, are actually unreachable.Could you explain the steps you took to make sure workstation won't send it's traffic to the gateway/internet using the LAN side NIC?
Thank. You might click the "Like"-Buttons ;-)Many thanks for your detailed post...really cleared some things up for me...
Nothing against it, but not necessary. From my point of view the information I put here is licensed CC0I might create a YouTube video and credit you with the information if I get it to work
Sorry back again, I tried with aI do prefer to put "bridge building" on the PVE node(s). And my bridges do deliver only untagged traffic into VMs. But this is my personal preference. I do know the strategy with "VLAN aware" bridges. But as I do not use pfSense I can not tell if that is a good idea or if it has real drawbacks.
VLAN
let's say VLAN10
with an IP interface in the range of 10.152.152.1/18
. but still can't get workstation
to talk to gateway
. Could you share a picture or the bridge
you created on Proxmox pls? Could you share a picture or thebridge
you created on Proxmox pls?
net0: virtio=4E:9C:70:E5:25:5F,bridge=vmbr2,firewall=1
net1: virtio=E6:08:CC:F8:73:73,bridge=vmbr10,firewall=1
~# grep -A4 vmbr2 /etc/network/interfaces
auto vmbr2
iface vmbr2 inet manual
bridge-ports enp4s0.2
bridge-stp off
bridge-fd 0
#dmz
~# grep -A4 vmbr10 /etc/network/interfaces
auto vmbr10
iface vmbr10 inet manual
bridge-ports enp4s0.10
bridge-stp off
bridge-fd 0
#tor
net0: virtio=7E:A9:F7:E6:49:F2,bridge=vmbr10,firewall=1
I was puzzled by the gateway's DNS settings...I set it up perfectly using pfSense now....These two virtual machines are the only ones that are connected to vmbr10. This makes it "isolated" for its intended purpose and the Workstation has absolutely no chance to connect to the internet except through the Whonix Gateway.