[arch-general] shh SOCKS proxy

Daniel Hilst Selli danielhilst at gmail.com
Wed Jul 20 10:41:15 EDT 2011


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


More information about the arch-general mailing list