[Gllug] Port forwarding over ssh...

Andrew Farnsworth farnsaw at stonedoor.com
Wed Mar 10 05:15:13 UTC 2010


instead of http://localhost/, do http://192.168.1.123/

Andy

On Wed, Mar 10, 2010 at 12:06 AM, general_email at technicalbloke.com <
general_email at technicalbloke.com> wrote:

> Hi all,
>
> I'm currently testing the FreeNAS box I mentioned I was about to build a
> couple of weeks ago. It's going quite well but I've got a little stuck
> on tunneling over SSH. I have ssh setup with certs and have disabled
> interactive (challenge response) logons. All seems well with that and I
> can login with no problems but now I'd like to be able to access the
> NAS's web GUI via an ssh tunnel (tunneling being a new thing to me).
>
> The tutorial I read* said to simply SSH in using the -D option to
> specify a local port that will then act as a local socks proxy so I
> typed this...
>
> ssh -p 12345 -D 9999 username at 192.168.1.123
>
> Sure enough it logged me in and I get a bash prompt. Sadly though when I
> set firefox's proxy settings to localhost:9999 I can't get anything back
> from the URL http://localhost/ where, AFAICT, I should get back the
> NAS's admin login page.
>
> I don't know whether this is because the SSH/SOCKS tunnel isn't actually
> up and running, whether running the above command should actually give
> me a prompt at all, whether the URL I am entering into firefox isn't
> right or if the firefox proxy settings are actually correct so I'm not
> sure how to proceed. I'd appreciate some suggestions as to how to
> check/rule out some of the above, or a simple correction if I've made a
> schoolboy error.
>
> Many thanks,
>
> Roger.
>
>
>
> *this one is for drupal but I figure it should apply generally...
>
> http://www.johnandcailin.com/blog/john/beef-your-drupal-security-apache-modrewrite-and-ssh
> --
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20100310/9d1264ea/attachment.html>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list