[arch-general] shh SOCKS proxy
I trying to set a ssh proxy.. For tests matter I'm using my local desktop, as I can change sshd configurations all in one place I do this: http://pastebin.com/g26A9imj Then set my firefox proxy to localhost on port 8080 (all protocols) and checked the SOCK5 buttom selected. Once I enter www.google.com on firefox and it justs show me a blank page
On Wednesday 20 Jul 2011 08:41:43 Daniel Hilst Selli wrote:
I trying to set a ssh proxy.. For tests matter I'm using my local desktop, as I can change sshd configurations all in one place
I do this: http://pastebin.com/g26A9imj
Then set my firefox proxy to localhost on port 8080 (all protocols) and checked the SOCK5 buttom selected.
Once I enter www.google.com on firefox and it justs show me a blank page
In the Firefox proxy settings, you'll need to ensure that none of the rows except for SOCKS is configured. Firefox is trying to connect to your SOCKS server as if it were an HTTP proxy, and failing. I ran into this myself the first time I did it :) Paul
On 07/20/11 at 12:46pm, Paul Gideon Dann wrote:
On Wednesday 20 Jul 2011 08:41:43 Daniel Hilst Selli wrote:
I trying to set a ssh proxy.. For tests matter I'm using my local desktop, as I can change sshd configurations all in one place
I do this: http://pastebin.com/g26A9imj
Then set my firefox proxy to localhost on port 8080 (all protocols) and checked the SOCK5 buttom selected.
Once I enter www.google.com on firefox and it justs show me a blank page
In the Firefox proxy settings, you'll need to ensure that none of the rows except for SOCKS is configured. Firefox is trying to connect to your SOCKS server as if it were an HTTP proxy, and failing.
I ran into this myself the first time I did it :)
Paul
I would like to add, for quick tests, cURL is far more convenient: curl --head --proxy socks5h://localhost:22 http://example.com You may also want to add the --verbose or --trace-ascii options.
Em 20-07-2011 10:09, lolilolicon escreveu:
On 07/20/11 at 12:46pm, Paul Gideon Dann wrote:
On Wednesday 20 Jul 2011 08:41:43 Daniel Hilst Selli wrote:
I trying to set a ssh proxy.. For tests matter I'm using my local desktop, as I can change sshd configurations all in one place
I do this: http://pastebin.com/g26A9imj
Then set my firefox proxy to localhost on port 8080 (all protocols) and checked the SOCK5 buttom selected.
Once I enter www.google.com on firefox and it justs show me a blank page In the Firefox proxy settings, you'll need to ensure that none of the rows except for SOCKS is configured. Firefox is trying to connect to your SOCKS server as if it were an HTTP proxy, and failing.
I ran into this myself the first time I did it :)
Paul I would like to add, for quick tests, cURL is far more convenient:
curl --head --proxy socks5h://localhost:22 http://example.com
You may also want to add the --verbose or --trace-ascii options. Thanks guys, now it works.
curl was really practice for tests.. I just change the options from proxy to --socks5 as in curl --head --socks5 localhost:8080 www.google.com Thanks again
On 07/20/2011 07:41 AM, Daniel Hilst Selli wrote:
I trying to set a ssh proxy.. For tests matter I'm using my local desktop, as I can change sshd configurations all in one place
I do this: http://pastebin.com/g26A9imj
Then set my firefox proxy to localhost on port 8080 (all protocols) and checked the SOCK5 buttom selected.
Once I enter www.google.com on firefox and it justs show me a blank page
I accomplish this (using Google Chrome) like so: 1) ssh -D 8080 <the server which will proxy all the HTTP traffic> 2) chromium --proxy-server="socks://localhost:8080" HTH, DR
participants (4)
-
Daniel Hilst Selli
-
David Rosenstrauch
-
lolilolicon
-
Paul Gideon Dann