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 10-26-2007, 11:16 PM   #1
disposable5819
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
Angry Setting up a SOCKS 5 proxy server to talk to VPN


My networking situation is somewhat complex.

User is on a windows box, where traffic from some applications needs to go through a VPN, but other traffic needs to go through a direct connect. Unfortunately, I've been having a hard time come up with any solution that will allow this.

So far, the closest I've gotten to have a local Ubuntu box connect to the vpn-- that's successful, and the Ubuntu box seems to be able to communicate through the VPN successfully.

I set up squid to serve as an http proxy, and that works okay, but some applications require a socks proxy instead of an http proxy.

So I installed OpenSSH on Ubuntu and Putty on the windows, thus creating a tunnel. Unfortunately, the applications that go through this route don't seem to be able to accept incoming connections.

Basically, assume the IP address given to the Ubuntu box is 11.22.33.44 . I need to have incoming connections to 11.22.33.44:8141 successfully make their way to the WINDOWS host, which is using Putty as a Socks5 proxy.

I'm not really sure what's going wrong. The windows machine is able to make outgoing connections, but can't receiving incoming connection. How do I find where in this tangled web the trouble is?

I'm not completely sure where the problem is. Right now what i'm doing is really complex:
vpn <-> ppp <-> ubuntu <-> sshtunnel <-> windows

How do I find where the problem is? How do I make sure that incoming connections received over the VPN by the ubuntu box are successfully sent through the tunnel?

--

And is there some an easier way to accomplish this goal?


I'm a relatively new linux user. I really want to start migrating to linux, but I have to confess, I'm tempted to just buy theuser a completely separate windows box, so that one can always be connected to the vpn, one can always be connected to the direct connect, and be down with it. I know that's insane-- there's gotta be some way to set this up.

Can anyone Is there any way i could do windows sending some traffic to vpn and other to direct connect?

vpn <-> windows:8141 and simulatenously:
directconnect <-> windows:http

please, please help, lest I start hurling servers across the room.
 
Old 05-04-2010, 03:17 AM   #2
krtkr
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
Solutions?

Hi All!

I know this post is quite old, but I have almost the same problem.

I want to route Internet traffic for Some applications through VPN and for others through default gateway.

As I understood, best solution is to use proxy (as soon as I want to differentiate routing on Application level).

Could anyone advise proxy-servers for windows/linux suatable for this problem?

Thanks!
 
  


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 or VPN? natv Linux - Networking 4 07-24-2007 06:26 AM
SOCKS Proxy w/router. Tizzle General 0 05-31-2006 02:24 PM
help: setting up proxy (http) or socks www ,ftp,telnet etc.... marco01974 Linux - Networking 1 03-30-2006 10:47 PM
RHE3: Socks Proxy Zai Red Hat 2 06-26-2005 07:55 PM
Amsn and Proxy Server (socks 5) Helppp fahadaizaz Linux - Newbie 1 04-25-2004 05:48 AM

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

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