This question already has an answer here:
- How can I use Linux as a Gateway? 2 answers
My computer A has two networks, one connects to internet. The other one connects to computer B. How can I setup A to route all the internet traffic from B through a proxy running on A without setting B too much, possibly acting like a transparent proxy?