Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to set up a SSH tunnel via Putty so I can access my router admin pages.

I have an ubuntu 12.04 machine on the local network with SSH access.

I can SSH into that ubuntu box (that sits on the same network as the router i'm trying to get to).

So this is what I'm doing for my SSH tunnel

In Putty.

  • Create an SSH Tunnel Of Auto Location: Dynamic Port, Port Number 9999 (then clicking add)
  • I see the port D9999
  • I then make a connection to the remote machine with Putty (over port 22) and I log in to the remote machine.

In Firefox

I set the connection to socks5 proxy at localhost port 9999

Now when I try and connect to any web site in firefox it says

The proxy server is refusing connections
Firefox is configured to use a proxy server that is refusing connections.

While I'm SSH'd into the remote box, I can do telnet www.google.com 80 and that connects just fine.

What am I missing?

share|improve this question
    
Please include PuTTY event log. –  Martin Prikryl Apr 11 '13 at 6:42

1 Answer 1

Nevermind, me being dumb

I had "localhost" set up in my /etc/hosts file to point to a local VM

sorry for the time waste

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.