LinuxQuestions.org
Help answer threads with 0 replies.
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 08-23-2012, 09:38 AM   #1
yogevmi
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Rep: Reputation: 0
SOCKS Proxy Tunneling (All Traffic)


Helo everybody,
I need a good way to work with ssh tunneling that will tunnel all my traffic and not only traffic from the browser or specific port.

i am not asking how to make ssh tunneling i just ask how to make it for all the traffic.

on windows i used a tool called proxifier a great tool but untill now i didnt find a good solution for linux, please advice..

Thanks
Yogev.
 
Old 08-23-2012, 09:41 AM   #2
byannoni
Member
 
Registered: Aug 2012
Location: /home/byannoni
Distribution: Arch
Posts: 128

Rep: Reputation: 36
Try privoxy, that is what I use.
 
Old 08-23-2012, 04:00 PM   #3
yogevmi
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Hey byannoni
Thanks for the reply, i just checked your suggestion (privoxy) and i saw that you can config it only from the browser but like i said i want all the traffic not just from the browser.. i want that every program\command that i use will work from the tunnel like proxifier on windows.
 
Old 08-23-2012, 04:37 PM   #4
byannoni
Member
 
Registered: Aug 2012
Location: /home/byannoni
Distribution: Arch
Posts: 128

Rep: Reputation: 36
Quote:
Originally Posted by yogevmi View Post
Hey byannoni
Thanks for the reply, i just checked your suggestion (privoxy) and i saw that you can config it only from the browser but like i said i want all the traffic not just from the browser.. i want that every program\command that i use will work from the tunnel like proxifier on windows.
Sorry, I didn't realize that it was limited in that way. I assume you could use iptables, but there is probably an easier way.
 
Old 08-23-2012, 05:03 PM   #5
yogevmi
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
There is also tool called proxychains (http://proxychains.sourceforge.net/)
that can do the job but the limitation is that its not automated for any program that you run you need to start every program from it like this example:
bash$ proxychains telnet targethost.com

so the problem is that if you want to hide your self for all your traffic throw the tunnel you probably will make some mistakes and not all the time run the program from it... i must to find tool like proxifier for linux its awesome tool!!
 
Old 08-24-2012, 06:54 AM   #6
ambrop7
Member
 
Registered: May 2011
Distribution: Gentoo
Posts: 98

Rep: Reputation: 16
Try my tun2socks proxifier. It implements a TUN virtual network interface that forwards all incoming TCP(v4) connections to a SOCKS5 server. That wiki page explains exactly what you need (SSH dynamic forwarding).
 
  


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
Forwarding all traffic to the proxy to another proxy (transparent proxy/redirection) lakshithaww Linux - Networking 1 10-28-2009 12:54 AM
SSH Tunneling SOCKS not working? kailun Linux - Networking 2 08-26-2007 12:01 PM
control traffic on socks server dante legolin Linux - Software 0 05-21-2005 05:57 AM
SSH tunneling and socks weepenguin Linux - General 3 04-06-2005 07:10 AM

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

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