Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] making SSH port forwarding externally available

On Fri, Sep 14, 2001 at 12:51:45PM +1000, Sonam Chauhan wrote:

> i.e.: If I do a "ssh -f -N -L 1234:remote:1234 remote" , then
> "telnet localhost 2323" establishes a connection to 'remote' via the
> ssh tunnel, but "telnet my_machine_IP 2323" doesn't.

from the ssh(1) manpage:

       -g     Allows  remote  hosts  to  connect local port
              forwarding ports. The default is that only
              localhost may connect to locally binded ports.

that's what you're after :)

(and just in case you don't have that option, i'm running ssh

#ozone/algorithm <ozone@xxxxxxxxxxxxxxxx>          - trust.in.love.to.save