The NoteBook of EricKong

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            611 Posts :: 1 Stories :: 190 Comments :: 0 Trackbacks

          常用鏈接

          留言簿(11)

          我參與的團隊

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          Outgoing Tunnels :


          Local port forwarding (an outgoing tunnel) forwards traffic coming to a local port to a specified remote port.

          Example: On Unix, when you issue the command

          $ ssh2 -L 1234:localhost:23 username@host
          

          all traffic coming to port 1234 on the client (localhost) will be forwarded to port 23 on the server (host).

          Note that the localhost definition will be resolved by the SSH Tectia Server after the connection is established. In this case localhost therefore refers to the server (host) itself.

          Note: It is important to understand that if you have three hosts, client, sshdserver, and appserver, and you forward the traffic coming to the client's port x to the appserver's port y, only the connection between the client and sshdserver will be secured. See Figure Forwarding to a third host. The command you use would be similar to the following:

          $ ssh2 -L x:appserver:y username@sshdserver
          


          clientserver-tunnelarch2-5.gif
          Figure : Forwarding to a third host

          When using SSH Tectia Client on Windows, the tunneling settings can be made under Profile Settings -> Tunneling.


          Incoming Tunnels :

          Remote port forwarding (an incoming tunnel) does the opposite to local port forwarding: it forwards traffic coming to a remote port to a specified local port.

          For example, if you issue the following command

          $ ssh2 -R 1234:localhost:23 username@host
          

          all traffic which comes to port 1234 on the server (host) will be forwarded to port 23 on the client (localhost).

          When using SSH Tectia Client on Windows, the tunneling settings can be made under Profile Settings -> Tunneling.


          posted on 2012-04-23 12:21 Eric_jiang 閱讀(340) 評論(0)  編輯  收藏 所屬分類: 硬件工程
          主站蜘蛛池模板: 林甸县| 碌曲县| 崇左市| 富裕县| 江口县| 奉新县| 南阳市| 辽宁省| 屯门区| 临洮县| 吐鲁番市| 凌源市| 中山市| 广东省| 杭州市| 额济纳旗| 常宁市| 玉山县| 新民市| 伽师县| 西充县| 额济纳旗| 乌鲁木齐市| 永康市| 万全县| 拉萨市| 遂平县| 交城县| 旌德县| 曲靖市| 广昌县| 麦盖提县| 龙井市| 西充县| 平遥县| 松阳县| 南陵县| 临泉县| 大埔县| 鄱阳县| 牡丹江市|