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?
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
Execellent!
Windows fails to include a libre software license text file. We do not control it, anti-libre software.
So, to restrict its access to external resources such as networking, must be sandboxed in an enviroment we do control, such a virtualising it under a libre software operating system.
This is only harm reduction. We still do not control Windows itself, anti-libre software.
Realistically you’re not going to be able to do that without breaking Windows in a way that will also break connectivity for those two applications.
Use Linux?
Anyway, why exactly do you use VirtualBox for all internet stuff? Simply don’t download anything risky.
I haven’t caught a virus for over ten years because I no longer download random exe files from the internet as I used to when I was younger.
What sort of exe files did you download if I may ask? games?
Cracked games and cracked software.