Changes

Jump to: navigation, search

OPS235 Lab 7 - Fedora17

304 bytes added, 13:27, 17 March 2010
no edit summary
* The next step is to establish a tunnel. When you establish a tunnel you make an ssh connection to a remote host and open a new port on the local host. That local host port is then connected to a port on the remote host through the established tunnel. When you send requests to the local port it is forwarded through the tunnel to the remote port.
:::: [[Image:Tunnel.png]]
* Establish a tunnel using a local port on fedora2 of 20808, that connects to the remote port on fedora1 of 80, using the following command on fedora2:
** <code>ssh -L 20808:fedora1:80 user@fedora1
 
The -L (which means Local port) takes one argument of
 
<local-port>:<connect-to-host>:<connect-to-port>
9
edits

Navigation menu