
|
Tunnel a Local Port to Remote
[<Back>] [<Edit>]
A --> | FireWall | -- > { WAN } --> | FireWall (Open Port: 22) |--> B
ssh -NfL 5900:127.0.0.1:5900 host
The example above is to create a tunnel for ARD to manage "B" from "A" without opening port 5900 on the Physical FireWall using existing open port 22
Note: To close tunnel, you have to kill a process named "ssh" since the tunnel runs on the background due to the "-f" switch.
http://www.mactech.com/articles/mactech/Vol.20/20.07/VNCOverSSH/index.html
By: Aaron Adams
|
|
|
|
|
Ted Simbajon
415.968.9476
San Francisco, CA
t3ddy94123@yahoo.com
Some Rights Reserved 2009© ΤΓΦ
38.107.191.83 Wed 08, 2010
|