Port forwarding program?

Is there a program that I can run as root, to have it listen on port 80, and forward all incoming TCP connections to another port on the local machine?

There's one catch, though - I want the other program on the local machine to still be able to see the true remote host, rather than 127.0.0.1. Is this possible?

 

 

 

 

Top