this post was submitted on 20 Mar 2025
6 points (100.0% liked)

techsupport

2678 readers
18 users here now

The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.

If something works or if you find a solution to your problem let us know it will be greatly apreciated.

Rules: instance rules + stay on topic

Partnered communities:

You Should Know

Reddit

Software gore

Recommendations

founded 2 years ago
MODERATORS
 

I looked into wf.msc (windows' firewall) and it does not allow any prioritization. So you cannot exclude all traffic except from two exceptions. Any broad block rule supercedes any specific allow rule.

I also tried setting up firewall rules using powershell wich allows more finegrained control. But that failed as well....

I want to connect android studio to github so i can work on my FOSS apps from anywhere in the world. I also want to use virtualbox to connect to the great onlines safely.

How did you resolve this issue?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 1 day ago* (last edited 1 day ago) (1 children)

Haven't worked with Windows for years, but this should work:

The virtual machine needs to use a bridged network instead of NAT. This can be configured in virtualbox. Then you use your router to block the IP of your windows host and only allow the IP of the VM.

No idea if android studio also supports bridging though.

Edit: This also has the advantage, that it can't be circumvented from inside your windows host

[โ€“] [email protected] 2 points 1 day ago