Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-18-2011, 07:32 AM   #1
LQ Newbie
Registered: Feb 2009
Posts: 14

Rep: Reputation: 0
Multihop SOCKS proxy

There are 3 hosts: internal, middle, external.
Internal have Internet access through restrictive squid proxy. I have also ssh access to middle and from middle to external. External have internet access, middle only to corporate network.
I've tried to tunnel it with
ssh -t -t -v -L9999:localhost:9932 middle ssh -t -D 9932 external
and setup as SOCKS proxy in firefox but I've got blank page in firefox. Am I doing something wrong or it's due to server capabilities e.g no TCP forward enabled?

EDIT: Ok I solved it with tsocks, it's was probably due to problem with only corporation DNS names resolved on local host. Is there a way to setup DNS through proxy chain, to don't need run each app with tsocks ?

Last edited by nusch; 04-18-2011 at 07:52 AM.
Old 04-18-2011, 10:00 AM   #2
LQ Newbie
Registered: Apr 2010
Distribution: Debian
Posts: 16

Rep: Reputation: 2
firefox has a setting for that in about config

set it to true


For other apps I do not know


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
proxy server that accepts PARENT PROXY as a SOCKS PROXY shadyabhi Linux - Server 1 08-10-2010 04:09 PM
[ask] using wget through SOCKS proxy arroquant Linux - Software 5 09-30-2009 07:12 PM
ssh over socks proxy d0x++ Linux - Networking 1 06-03-2009 03:35 AM
RHE3: Socks Proxy Zai Red Hat 2 06-26-2005 08:55 PM
Can I use ntpd through a socks proxy?? zhaoyoubing Linux - Networking 0 07-23-2003 10:24 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration