Using ssh port forwarding

From LeonWiki!

Jump to: navigation, search

I cannot have more than one webserver running on the same port number on different machines. Hence, to run an Apache web server on Windows on port 80, in addition to my standard server running on Linux on port 80, I have to do the following configuration to make that happen. On Linux, ssh port forwarding is used to forward from linux port 10888 to port 80 (Apache) on Windows. Use this command to initiate port forwarding: ssh -L 192.168.0.201:10888:localhost:80 192.168.0.205, where 192.168.0.205 is the Windows box and 192.168.0.201 is the Linux box.

Personal tools
Alchemy Software, Inc.
Alchemy Software Website