16.5. ForwardingF-Secure SSH Client supports forwarding (Chapter 9, "Port Forwarding and X Forwarding"), in which another network connection can be passed through SSH to encrypt it. It is also called tunneling because the SSH connection provides a secure "tunnel" through which another connection may pass. Both TCP port forwarding (local and remote) and X forwarding are supported.
16.5.1. Port ForwardingEach F-Secure configuration you create may have different ports forwarded. To set up forwarding to a particular remote host, disconnect from that host (if you're connected), open the Properties window, and notice the Tunneling category. Select Local Tunneling to set up local forwarding (see Figure 16-2), or Remote Tunneling for remote forwarding, respectively. [Section 9.2.3, "Comparing Local and Remote PortForwarding"] Either way, you are prompted for similar information:
Figure 16-2. F-Secure SSH Client local port forwarding optionsFor example, to tunnel a telnet connection (TCP port 23) through SSH to connect to server.example.com, you can specify:
Source port: 8500 (any random port number) Destination Host: server.example.com Destination Port: 23 Application to Start: c:\windows\telnet.exeOnce you've made your choices, reopen the SSH connection, and the ports will be forwarded for the duration of your connection. Note that F-Secure SSH Client forbids remote connections to locally forwarded ports. This security feature is analogous to specifying "GatewayPorts no". [Section 188.8.131.52, "Local forwarding and GatewayPorts"]
16.5.2. X ForwardingThe X Window System is the most popular windowing software for Unix machines. If you want to run remote X clients that open windows on your PC, you need:
Copyright © 2002 O'Reilly & Associates. All rights reserved.