Wednesday, May 27, 2009

SSH Port forwarding

Local Forwarding: forward local service to remote service

Local: ssh -L 9998::
Remote server: nc -l
Local: nc localhost 9998

Remote Forwarding: forward remote service to local service
Local: nc -l localhost 9998
Local: ssh -R 9999::
Remote server: nc -l locahost 9999


acedia said...

Victor, you do any iphone app programming?

Python Rocks said...

This's on my radar. I need to learn Objective C though.

BTW I have moved my tech blog to