I want to create an tor router on my network using an extra computer I have (2011 Mac Mini). Since the exit node can read/modify traffic that is not end-to-end encrypted, I would only like to route HTTPS traffic through tor and connect directly to the source for all insecure traffic.
This leaves me with 2 questions:
What does this do to the benefits provided by TOR? I imagine nothing because if the traffic is not end-to-end encrypted anyway, TOR provides almost no benefit and it is trivial to find identifying information if you are the exit node. Does this compromise the integrity of the TLS-enabled traffic though timing or confirmation attacks?
How would I set this up? I am by no means a linux guru. If this does provide benefit, what are the steps to route all incoming traffic either through TOR or direct to source based on whether the traffic is TLS-enabled?