Eric at Lucii.org on 31 Oct 2011 14:40:25 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] remote access to 127.0.0.1


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wow, that works great.

I guess I missed it because in the man page is says:

- -L [bind_address:]port:host:hostport
      Specifies that the given port on the local (client) host is to be
      forwarded to the given host and port on the remote side.  This
      works by allocating a socket to listen to port on the local side,
      optionally bound to the specified bind_address.  Whenever a
      connection is made to this port, the connection is forwarded over
      the secure channel, and a connection is made to host port
      hostport from the remote machine.  Port forwardings can also be
      specified in the configuration file.  IPv6 addresses can be
      specified with an alternative syntax:
      [bind_address/]port/host/hostport or by enclosing the address in
      square brackets.  Only the superuser can forward privileged
      ports.  By default, the local port is bound in accordance with
      the GatewayPorts setting.  However, an explicit bind_address may
      be used to bind the connection to a specific address.  The
      bind_address of ?localhost? indicates that the listening port be
      bound for local use only, while an empty address or ?*? indicates
      that the port should be available from all interfaces.

I just *used* it and I still don't understand what that says.

Thanks Doug!

Eric


On 10/31/2011 05:22 PM, Doug Stewart wrote:
> The -L flag is what you want. 
> 
> --
> Doug Stewart
> 
> On Oct 31, 2011, at 5:18 PM, "Eric at Lucii.org" <eric@lucii.org> wrote:
> 
> I have a remote (Linode) server instance that has some web-based services that are only available on 127.0.0.1.
> 
> Is there a way to "forward" a *network* connection through ssh that I can then access with chrome or Firefox running on my workstation?
> I know that I can forward X through the ssh tunnel but I don't want to install X and a web browser on the Linode box.
> 
> 
> Thanks,
> Eric
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

- -- 
#  Eric Lucas
#
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6vFcoACgkQ2sGpvXQrZ/4sJgCg29yD5C+pEmPR7dkf0+1LQuMS
X/wAnAzTICMC2C6JTv8B1+1l91YU2W/T
=x26r
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug