LinuxQuestions.org
Help answer threads with 0 replies.
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 12-15-2003, 11:41 AM   #1
vmicho
Member
 
Registered: Jun 2003
Location: Slovakia
Distribution: Debian unstable i586
Posts: 38

Rep: Reputation: 15
Question help: "socks5" -> "http" proxy, or ssh tunnel to socks5 ? I'm beyond proxy


Hi there :)

So, for few months (!) I'm trying to improve my connection conditions (in our school's hall of residence), which are really bad.
Here is the situation:
In my room, I can connect to net only via a http proxy (let's say proxyserver:80). Http proxy only, no socks4, socks5, just a support for http:// and ftp:// . We have no gateway for network, no dns, so no direct connection. This implies no cvs, host, and other progs with direct access need and without support of http proxy.
But (fortunately) we have ssh possibility to the computers in computing rooms at school (let's say targetcomputer). Good news are, there are no blocked ports on targetcomputers. Using ssh tunneling, I managed to use cvs. Problems are with progs like kaza which only supports socks5 proxies, and as the direct connection don't exist ...
So I just wish to get the socks5 proxy to work.

So what I want to do :
1) Install a socks5 proxy on my computer (mycomputer), which will be connected to the net thru proxyserver:80. Dunno if it can work, cuz the protocol for kaza may be weird. This will need a proxy server, which don't require correct gateway+dns configuration and so it cant connect to the net via another proxy.

2) Or I can run a small socks5 proxy server on targetcomputer:333 (we have Linux everywhere) as an user, and sshtunnel from me to targetcomputer:333.

Can anybody help with these? My only network related experiences concern ifconfig, and connection sharing with iptables (from minihowto). I don't know anything about running and configuring proxies / specific forwarders.


3) Or, probably the most effective : sshtunnel from my to targetcomputer's network interface (it has its gateway & dns settings). Then set up my gateway to be redirected to the tunnel. For this, I have no idea if, and how, it is possible, cuz tunnel connects to specific host:port. Maybe a simple port to net mapper as an user. Never heard about this, but it seems very possible.


Any help will be welcome.

Last edited by vmicho; 12-15-2003 at 03:14 PM.
 
Old 12-15-2003, 07:37 PM   #2
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
I'v seen someone running a ppp server on a shell. He soon got kicked by the admin.
 
Old 12-16-2003, 05:32 AM   #3
vmicho
Member
 
Registered: Jun 2003
Location: Slovakia
Distribution: Debian unstable i586
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by zaphodiv
I'v seen someone running a ppp server on a shell. He soon got kicked by the admin.
Not very funny.
Off course, I want to avoid running anything like server.


Somebody got an idea about point 1) ?

Or somebody knows, how can I use the targetcomputer's gateway? (from sshtunnel)
To set my gateway to be sshtunneled to the targetcomputer's gateway?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Where is the Embedded Linux "HOWTO" at http://www.tldp.org ? t3gah General 14 06-06-2005 06:35 AM
web surfing problem... i have to type in "http://" fatrandy13 Linux - Software 8 05-23-2005 02:48 AM
SSH Tunnel not working... "Administratively Probihited..." nsanity Linux - Networking 3 01-03-2004 01:25 PM
anging "Protocol" option to "IMPS/2" in XF86Config-4 causes problems zstingx Linux - General 2 10-27-2003 09:47 AM
Apache Related: "http://host/~user" instead of "http://host/~user/" ? scrawl Linux - Software 2 05-19-2003 12:02 AM


All times are GMT -5. The time now is 11:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration