1

I want setup socks server on my localhost which forward all http traffic on my remote server for bypass firewall rules at my work net. And so I start it as usually

sudo ssh -C2qTnN -D localhost:8080 -i myAWSKey.pem ubuntu@someserver.com

And set proxy settings in my browser. But then I try going to everywhere it's raise error "The connection was reset". Why it's doesn't work maybe Amazone denied this feature?

p.s and yes I have option AllowTcpForwarding yes at my server's sshd_config

my host system ubuntu 12.10 and server is ubuntu 12.04

Denis
  • 229
  • 3
  • 8

1 Answers1

2

The proxy built into ssh is a SOCKS proxy, not an HTTP or any other kind of proxy. That said, it's capable of proxying http, as well as just about anything else TCP-based, for a SOCKS-capable client. Firefox is such a client.

You need to make sure that in your browser proxy settings, the entries for HTTP, SSL and FTP proxy are blank; only SOCKS proxy should be host localhost and port 8080.

MadHatter
  • 79,770
  • 20
  • 184
  • 232