LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-18-2011, 06:32 AM   #1
nusch
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 127.0.0.1:9999 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 06:52 AM.
 
Old 04-18-2011, 09:00 AM   #2
lunitix
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

network.proxy.socks_remote_dns

For other apps I do not know
 
  


Reply



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 03:09 PM
[ask] using wget through SOCKS proxy arroquant Linux - Software 5 09-30-2009 06:12 PM
ssh over socks proxy d0x++ Linux - Networking 1 06-03-2009 02:35 AM
RHE3: Socks Proxy Zai Red Hat 2 06-26-2005 07:55 PM
Can I use ntpd through a socks proxy?? zhaoyoubing Linux - Networking 0 07-23-2003 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:45 AM.

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