I’m running VirtualBox on a Debian host. I have the default Whonix-Workstation and Whonix-Gateway VM’s as well as 2 Whonix-Custom-Workstation VM’s. One of the custom VM’s is running Debian and the other one is running Windows. I’m trying to test internal networking between the VMs. I run a simple Python file server with the python -m http.server
command on both machines. The server is accessible from within the same machine it’s run from on both localhost and its internally assigned IP address. However, when I try to access it from any other VM, be it another custom VM or the default workstation VM the connection times out / errors out. I looked through the docs at (/wiki/Whonix-Workstation_to_Whonix-Workstation_Connections) but it looks like my setup should work just fine. What am I doing wrong? I remember being able to access other VM’s server between 2 regular VirtualBox Debian VM’s without configuring anything.
user@debian:~$ curl 10.152.152.12:8000
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Directory listing for /</title>
</head>
<body>
<h1>Directory listing for /</h1>
...
</body>
</html>
user@debian:~$ curl 10.152.152.50:8000
curl: (7) Failed to connect to 10.152.152.50 port 8000 after 0 ms: Couldn't connect to server
PS C:\Users\user> curl 10.152.152.12:8000
curl : Unable to connect to the remote server
At line:1 char:1
+ curl 10.152.152.12:8000
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
PS C:\Users\user> curl 10.152.152.50:8000
StatusCode : 200
StatusDescription : OK
Content : <!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Directory listing for /</title>
</head>
<body>
<h1>Directory listing for /</h1>
<hr>
<ul>
<li><a href=".venv/">.venv/</a></li>
<li...
RawContent : HTTP/1.0 200 OK
Content-Length: 756
Content-Type: text/html; charset=utf-8
Date: Mon, 23 Oct 2023 19:25:33 GMT
Server: SimpleHTTP/0.6 Python/3.12.0
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta...
Forms : {}
...
[workstation user ~]% curl.anondist-orig 10.152.152.12:8000
curl: (28) Failed to connect to 10.152.152.12 port 8000 after 131126 ms: Couldn't connect to server
zsh: exit 28 curl.anondist-orig 10.152.152.12:8000
[workstation user ~]% curl.anondist-orig 10.152.152.50:8000
curl: (28) Failed to connect to 10.152.152.50 port 8000 after 129361 ms: Couldn't connect to server
zsh: exit 28 curl.anondist-orig 10.152.152.50:8000