| ssh handles all your port forwarding needs. You can check out the -R and -L flags I think.
As an example, here's what I use on my laptop to use my desktop as an http and dns proxy:
ssh -L 3128:localhost:3128 -L 873:localhost:873 -L 6667:localhost:6667 user@host
__________________ Stop intellectual property from infringing on me |