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.

Everyone,

I am trying to get a dynamic ssh proxy setup so I can do some secure web surfing/testing.

I have tried it on both a Mac (os X 10.6.7) and win7 professional (with putty)

I have 2 linux machines, 1 at the house running CentOS5 and another in the Cloud at AWS running the Bitnami stack for ruby.

The command I am running on my mac is

ssh -D 1080 root@mylocalCentOSServer

Connects just fine, I then go to my network settings for my airport and specify the Http and Https Proxy servers to be either 127.0.0.1 or localhost and use the port 1080. I then fire up a web browser (chrome) and try and hit a website, I get an error everytime about "Proxy server sent no data" or "Server dropped connection"

Same thing happens on win7 box with putty, connects fine, I get a shell prompt, but the proxy is just not moving data back and forth.

I must be missing something, please help. Thanks!

p.s. it fails rather I use my localCentOS box from within my own LAN, or from remote, or even the server running at AWS EC2 doesn't work...

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I then go to my network settings for my airport and specify the Http and Https Proxy servers to be either 127.0.0.1 or localhost and use the port 1080.

You must configure it as a SOCKS host, not HTTP Proxy.

share|improve this answer
    
holy crap.... that was the problem.... –  Matt Nov 16 '11 at 8:46

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.