instead of <a href="http://localhost/">http://localhost/</a>, do <a href="http://192.168.1.123/">http://192.168.1.123/</a><br><br>Andy<br><br><div class="gmail_quote">On Wed, Mar 10, 2010 at 12:06 AM, <a href="mailto:general_email@technicalbloke.com">general_email@technicalbloke.com</a> <span dir="ltr"><<a href="mailto:general_email@technicalbloke.com">general_email@technicalbloke.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all,<br>
<br>
I'm currently testing the FreeNAS box I mentioned I was about to build a<br>
couple of weeks ago. It's going quite well but I've got a little stuck<br>
on tunneling over SSH. I have ssh setup with certs and have disabled<br>
interactive (challenge response) logons. All seems well with that and I<br>
can login with no problems but now I'd like to be able to access the<br>
NAS's web GUI via an ssh tunnel (tunneling being a new thing to me).<br>
<br>
The tutorial I read* said to simply SSH in using the -D option to<br>
specify a local port that will then act as a local socks proxy so I<br>
typed this...<br>
<br>
ssh -p 12345 -D 9999 <a href="mailto:username@192.168.1.123">username@192.168.1.123</a><br>
<br>
Sure enough it logged me in and I get a bash prompt. Sadly though when I<br>
set firefox's proxy settings to localhost:9999 I can't get anything back<br>
from the URL <a href="http://localhost/" target="_blank">http://localhost/</a> where, AFAICT, I should get back the<br>
NAS's admin login page.<br>
<br>
I don't know whether this is because the SSH/SOCKS tunnel isn't actually<br>
up and running, whether running the above command should actually give<br>
me a prompt at all, whether the URL I am entering into firefox isn't<br>
right or if the firefox proxy settings are actually correct so I'm not<br>
sure how to proceed. I'd appreciate some suggestions as to how to<br>
check/rule out some of the above, or a simple correction if I've made a<br>
schoolboy error.<br>
<br>
Many thanks,<br>
<br>
Roger.<br>
<br>
<br>
<br>
*this one is for drupal but I figure it should apply generally...<br>
<a href="http://www.johnandcailin.com/blog/john/beef-your-drupal-security-apache-modrewrite-and-ssh" target="_blank">http://www.johnandcailin.com/blog/john/beef-your-drupal-security-apache-modrewrite-and-ssh</a><br>
<font color="#888888">--<br>
Gllug mailing list  -  <a href="mailto:Gllug@gllug.org.uk">Gllug@gllug.org.uk</a><br>
<a href="http://lists.gllug.org.uk/mailman/listinfo/gllug" target="_blank">http://lists.gllug.org.uk/mailman/listinfo/gllug</a><br>
</font></blockquote></div><br>