-   Linux - Networking (
-   -   Multihop SOCKS proxy (

nusch 04-18-2011 06:32 AM

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 ?

lunitix 04-18-2011 09:00 AM

firefox has a setting for that in about config

set it to true


For other apps I do not know

All times are GMT -5. The time now is 10:51 PM.