can I create a tor qube and use it as netvm for other qubes?
The answer to both questions is yes.
You can limit TOR exit nodes or even request specific exit nodes. I
don’t know how to do it, but I read about it being possible. Maybe
someone else in the forum can give you a pointer. What I can tell you
is: if you are using sys-whonix, you can right click on the tray icon
and open a little dialog (I forgot it’s name) … there you can simply
reset your routing and get a new exit node until you get one that you like.
I can tell you how to do this using a package provided by @unman, but
why don’t you just use sys-whonix?
Answer to 1:
Find your torrc file, which is the config file that tor uses. Edit it , adding, for example, ExcludeNodes {cn},{hk},{mo} StrictNodes 1
to the end of it. StrictNodes 1 makes tor strictly avoid those exit nodes, even if it cannot establish a circuit. StrictNodes 0 makes tor regard those nodes as the last option, and they might be used when your tor cannot establish a circuit due to lack of nodes.
{kp} = North Korea
{ir}= Iran
{sy} = Syria
{pk} = Pakistan
{cu} = Cuba
{vn} = Vietnam
{ru} = Russia
{by} = Belarus
I would like to do this using the package provided by @unman. There are certain aspects of the Kodachi dashboard that make it possible for me to quickly see what is going on. sys-whonix is good and I could edit it, but I don’t have the same quick visual information that Kodachi has.
You could set the ‘provides_network’ property on your Kodachi qube, now you have a second network interface. eth0 is where Kodachi get internet from (what you set as netvm of your qube) and the other vifxxx interface is where all other qubes connect to when you set your Kodachi qube to be their netvm.
That would literally make their traffic go through your Kodachi qube. What if any advantage that brings you is beyond me.
so how can we let other vm’s connect to vifxxx because kodachi will boot as an standalone HVM , I tried but it’s not working , I booted up kodachi with “network_provider” enabled and setup new AppVM which using Kodachi as Netvm but there’s no internet connection on it!