image

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





 
Instagram Stats
pinoy
my Kung Fu