For the past two days I’ve been bending over backwards trying to set up my Whonix Gateway with the latest version of the VMs and using passt for networking, but the lack of documentation or any sort of guidance on the matter has made me go back to the Whonix-Internal/External configuration, which is not that much of a big deal, but since this is a privacy focused project you’d expect to be able to use their latest approach on the matter.
I started trying to make it work on my PC with Ubuntu 24.04. Having no luck, I upgraded to Ubuntu 26.04 seeing if it made it any better, and it sort of did, but I still couldn’t manage to make my Whonix Gateway be able to connect to the Tor network.
I already tried this back in July, when the new versions with the passt approach were released and the documentation was still not updated. Months later, the documentation has been updated but little to no mention of passt or interface configuration can be found. All I could find was some random comment on a thread I can no longer find and this red hat guide in Chinese that I translated with google translate (I was going to post the link, but it won’t let me).
I appreciate the community’s work that makes this project possible, but implementing new features without a proper guide on how to deploy them kind of defeats the purpose.
Ubuntu unfortunately has an AppArmor configuration bug that breaks networking with passt by default. A workaround is available here:
Currently Whonix-KVM’s maintainer recommends filing a bug report on their distro’s bug tracker:
That being said, Ubuntu is widespread enough that maybe the workaround should be documented in the Whonix wiki. @Patrick does that sound like a good idea?