LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-19-2009, 08:37 PM   #1
Dr_Death_UAE
Member
 
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168

Rep: Reputation: 30
socks5 proxy with bash?


Hello, is there a way to use socks5 proxy with bash, like http proxy
export http_proxy=http://<ip>:<port>

thanks

Last edited by Dr_Death_UAE; 09-19-2009 at 08:39 PM.
 
Old 09-20-2009, 10:00 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
That should work for applications that honor socks_proxy or SOCKS5_PROXY environment variables (note the difference between SOCKS4 and SOCKS5 and note some apps or app versions do not understand lowercase and vice versa). SOCKS is a protocol and not equal to HTTP (can use TCP but UDP as well), so in case there's no envvars and for those apps that don't know how to deal with it anyway you'll need to explicitly reroute things through for instance Dante, Delegate, OpenSSH, Polipo, Privoxy, Proxychains, SS5 or Socat (depending on what applications this is about).
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Programm that works simultaneously as a socks5 and http proxy axelfc Linux - Software 0 01-25-2006 12:26 PM
I want to download ftp-site files via wget and socks5 proxy server. jiawj Red Hat 2 10-28-2004 03:32 PM
socks5 TAAN Linux - Networking 1 01-14-2004 05:59 AM
"socks5" -> "http" proxy protocol, or ssh tunnel to sock5 ? I'm beyond http p vmicho Linux - Networking 2 12-16-2003 05:32 AM
socks5 Config Linux - Software 1 02-24-2002 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:16 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