Article:
  Apache Web-Serving with Mac OS X, Part 6
Subject:   port-forward
Date:   2003-11-10 19:35:26
From:   anonymous2
Response to: port-forward

if you want to forward all info going to port 21 to say, 1500, you would use the following in terminal.


ssh -L 21:127.0.0.1:1500 127.0.0.1 -n -f -N


There is a catch. Port 22 needs to be open for this to work. I don't know of a way to do it without, but if anyone knows, I could use it.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • port-forward
    2004-05-12 07:47:04  JJS [View]

    aha! Catch-22!