Just a word of caution, while running a non-exit node is obviously safer from a legal point of view, the entire list of active tor nodes isn’t secret, and there are enough people in the world that do not understand how tor works that the chance is non-zero that you’ll still end up on a block list somewhere for simply being a “tor node”, even though you never let any of the tor traffic out on the Internet.
I know for a fact this can happen because it happened to me.
Running an exit node is a bit like operating a no questions asked gun shop in downtown (some deprived city).
Sure, there’s perfectly legitimate reasons to own and therefore sell a gun to someone, but that particular shop will be in the business of facilitating crime - and that’s a bad thing and therefore not a moral occupation.
It's not quite like that. For some use cases that could be a correct metaphore. But for others, it's more like running a self-defense class in a well respected neighborhood.
very few people have legitimate uses for an exit node. And it is a security nigthmare for everyone (you owning their crimes, them being at your MiTM attacks mercy, etc)
But Do Run A Tor Node!
everyone should join tor and it should become the main net, with only tor traffic.