LinuxQuestions.org
Review your favorite Linux distribution.
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 06-21-2010, 08:27 AM   #1
shadyabhi
LQ Newbie
 
Registered: Sep 2008
Posts: 20

Rep: Reputation: 0
Use SOCKS proxy running on a remote machine


How can I use socks proxy which is on a remote machine?

Machine A: Running a socks5 proxy on port 1080..
Machine B: Wants to use socks proxy of Machine A..

How can I do that? I have access to both the machines..
 
Old 06-21-2010, 05:10 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
This may help.

http://www.yingjenie.com/ying/linux/socks5/index.html

http://www.linux.org/docs/ldp/howto/...-HOWTO-11.html

http://www.catonmat.net/blog/linux-socks5-proxy

Last edited by jefro; 06-21-2010 at 05:12 PM.
 
1 members found this post helpful.
Old 06-22-2010, 06:05 AM   #3
shadyabhi
LQ Newbie
 
Registered: Sep 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks. Using the third link, I got the solution.

Summary:

On machine B, $ssh -L 1080:127.0.0.1:1080 user@machineAip
On machine B, traffic on port 1080 is forwarded to MachineA:1080 port. So, I am actually using MachineA's internet on MachineB.
 
Old 01-16-2014, 02:12 AM   #4
tofu699
LQ Newbie
 
Registered: Jan 2014
Distribution: Fedora 20
Posts: 1

Rep: Reputation: Disabled
Works with UDP ?
 
  


Reply

Tags
port forwarding, proxy, socks, socks5, ssh



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
How to Display Running Application on Remote Machine with SHH anamericanjoe Linux - Software 3 09-14-2006 11:39 AM
Running X-application on a remote AND local machine LinuxFrosh Linux - Software 1 07-04-2006 10:24 AM
Strange colors when running GUI from remote machine. dreamtheater Linux - Software 0 05-19-2006 04:53 AM
running graphical program on remote machine abd_bela Debian 1 03-17-2005 07:07 AM
Running a script in background on a remote machine TheCoffeeMug Linux - Networking 3 11-06-2003 10:08 AM

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

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