Multiple Internet Connections

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Multiple Internet Connections

Postby Aqualung » Sep 30 05 8:52 am

My computer has 3 Internet connections, all of them active. Will I be able to use WinGate to route individual applications' Internet traffic through a certain connection? Say, I want to make sure my IE goes through a certain connection, while some other application should be able to use a different connection at the same time. What I am interested, then, is controlled Internet access routing.

Thanks.
Aqualung
 
Posts: 5
Joined: Sep 30 05 8:39 am

Postby TFTomSun » Sep 30 05 9:28 am

hi i'm working on the same problem since a few days. Here are my results:

http://forums.qbik.com/viewtopic.php?t=4051

greez, TFTS
TFTomSun
 
Posts: 27
Joined: Sep 28 05 8:07 pm

Postby Aqualung » Sep 30 05 3:12 pm

Thanks TFTomSun, I did read your thread before posting, and, while it did sound like having something to do with my issue, I nevertheless concluded that your problem is more complicated than what I am asking. That's why I decided to post my own thread. It may be, however, that I may have to give your thread a second look, which I will. At first it sounded pretty intimidating, given that I am no more than an absolute amateur networker.

I'll keep you posted about my attempts.

Cheers.
Aqualung
 
Posts: 5
Joined: Sep 30 05 8:39 am

Postby MattP » Sep 30 05 3:58 pm

You can do this through the different WinGate services.

For example, if you want to send your WWW connections out interface A, you can choose interface A from the gateway menu by selecting "use specified connections in priority order".

Image

Different services can use different gateways, so for FTP you can use interface B and for the Telnet proxy you can use gateway C.

At this time you can't choose a gateway for NAT connections, they just go out the WinGate machines default gateway, but we are looking at adding this functionality.

I hope this helps.
MattP
Qbik Staff
 
Posts: 991
Joined: Sep 08 03 4:30 pm

Postby TFTomSun » Sep 30 05 6:54 pm

hi,
i thought you want to route any application over a specified internet connection. If you only want to route the internet explorer, then use the www proxy option. But, if you want to route applications, which have no proxy option, you will need a socks client like sockscap or freecap. And thats what i posted ... how to use sockscap. The problem i have now with the cs server, is not your problem ... thats right. All applications you want to run (with or without proxy options) should work with my little tutorial.

In conclusion, you're right, when you say that your problem is less difficult than mine, when you only want to run apps with proxy options (socks or www proxy)

greez, TFTS

PS: Note that you need more than one socks client, in minimum 2, because in socks cap and freecap are only one instance of the apps possible. if you have 3 internet connections ... use the first internet connection without any proxy ... second with sockscap (bind to your first socks proxy) an the last internet connections with freecap (bind to your second socks proxy)
TFTomSun
 
Posts: 27
Joined: Sep 28 05 8:07 pm

Postby Aqualung » Oct 02 05 5:57 am

TFTomSun wrote:hi,
i thought you want to route any application over a specified internet connection. If you only want to route the internet explorer, then use the www proxy option. But, if you want to route applications, which have no proxy option, you will need a socks client like sockscap or freecap. And thats what i posted ... how to use sockscap. The problem i have now with the cs server, is not your problem ... thats right. All applications you want to run (with or without proxy options) should work with my little tutorial.

In conclusion, you're right, when you say that your problem is less difficult than mine, when you only want to run apps with proxy options (socks or www proxy)
Yes, so far all the applications I am interested in routing do have proxy options. On the other hand, should I not be able to do this proxy routing using any proxy server SW available (preferably something cheaper than WinGate, or even freeware :-))? I remember trying this sort of proxy routing using ccProxy, but it didn't really work. (Or it could very well be that I just weren't capable of configuring it properly.)

Anyway, thanks for the replies. I'll keep you posted as soon as I get 'round to trying this again.
Aqualung
 
Posts: 5
Joined: Sep 30 05 8:39 am

Postby Aqualung » Nov 08 05 6:16 pm

MattP wrote:You can do this through the different WinGate services.

For example, if you want to send your WWW connections out interface A, you can choose interface A from the gateway menu by selecting "use specified connections in priority order".

Okay, I did what you suggested. Installed WinGate and specified one of the connections in the WWW Proxy server properties. Ain't workin'. IE still connects through the connection through which it used to connect before installing WinGate.

What am I doing wrong?
Aqualung
 
Posts: 5
Joined: Sep 30 05 8:39 am

Postby TFTomSun » Nov 08 05 11:31 pm

did you make the proxy settings in your IE too?

there are 4 ways to connect to the second ISP.

1. you can do it with the www proxy server option in wingate ... but then you have to enter this www proxy server in your IE

2. more applications have a socks proxy option (IE too) ... so you have set up a socks proxy server in wingate and have to enter the socks proxy server in your application (for example IE) ... or

3. your application has no socks proxy option or you dont want to change the settings in your application ... so you can use apps like sockscap or freecap, which set up your app on the socks server specified in such programs

in the first 3 possibilties you have to bind your www / socks proxy server on the ip 127.0.0.1 ... then you have to enter this IP in your app or sockscap/freecap software plus the port on which your www / socks proxy runs
Further more you have to enter the gateway of the connection you want to use in your www / socks proxy server settings (in wingate). I used the additional option "Use the connections in rotation" but i only entered the gateway of the one connection

if you dont know where you can enter the www proxy or socks proxy settings in your IE:
-go to internetoptions>connections>LAN Settings here you can enter a www proxy
-go to advanced to enter a socks proxy server
(i hope a have translated the steps well from german to english)


4. you can change your routetable ... so you can only use the internetconnection to make outbound connections, which is entered as default route in your route table. I have written a little tool, which switches the defaultroute from one gateway to another ... but like i said ... you can only use one connection at the same moment for outbound connections


if you still have some question, dont hesitate to ask me

sorry for my bad english
greez, TFTS
TFTomSun
 
Posts: 27
Joined: Sep 28 05 8:07 pm

Postby Aqualung » Nov 09 05 5:54 am

TFTomSun wrote:did you make the proxy settings in your IE too?

Boy, sorry you have to put up with my ignorance. No I had not.

1. you can do it with the www proxy server option in wingate ... but then you have to enter this www proxy server in your IE

How do I do that? I mean, what address should I put there? 127.0.0.1?

2. more applications have a socks proxy option (IE too) ... so you have set up a socks proxy server in wingate and have to enter the socks proxy server in your application (for example IE)

Why would I use a socks proxy? Are there any advantages to proceeding this way (over using a www proxy)?

in the first 3 possibilties you have to bind your www / socks proxy server on the ip 127.0.0.1

How do I do this binding thingie? I see two sub-windows under the Bindings tab: the "Adapter" window and the "Binding Policy" window. What do I put inside each? And, btw, for the local machine, is this "MS TCP Loopback interface" of any interest?

4. you can change your routetable ... so you can only use the internetconnection to make outbound connections, which is entered as default route in your route table. I have written a little tool, which switches the defaultroute from one gateway to another ... but like i said ... you can only use one connection at the same moment for outbound connections

Nice little tool. I could have some use for it. Can I borrow it ;-)?
And thanks for the assistance and for the patience. I am certainly on my way to becoming a networking expert...
Aqualung
 
Posts: 5
Joined: Sep 30 05 8:39 am

Postby TFTomSun » Nov 09 05 6:32 am

How do I do that? I mean, what address should I put there? 127.0.0.1?


Yes. 127.0.0.1 and the port on which your proxy server runs.

Why would I use a socks proxy? Are there any advantages to proceeding this way (over using a www proxy)?


The only advantage i know is the compatibility. If you only want to use the IE, i think it dont matter if you use www proxy or socks proxy ... But if you want to use other apps anytime, that only have a socks proxy or no proxy function you have to set up a socks proxy additional to your www proxy. So why not only use a socks proxy server?

How do I do this binding thingie? I see two sub-windows under the Bindings tab: the "Adapter" window and the "Binding Policy" window. What do I put inside each? And, btw, for the local machine, is this "MS TCP Loopback interface" of any interest?


I'm not sure, cause i have deinstalled wingate. But i think it must be the Adapter Tab ... There you have to enter only the MS TCP Loopback interface (its the 127.0.0.1 IP)


Nice little tool. I could have some use for it. Can I borrow it ;-)?


Its programmed for my requirements. So i dont know how your ISP IPs are ... if they always have the same first 3 numbers of the IP it should be possible to give it to you. (example: AOL (Germany) have IPs: 172.x.x.x QDSL (Germany) have IPs: 212.x.x.x

The tool does only get the IPs from your Adapters and change the routetable by executing the route command and add the default route (route to 0.0.0.0) with the gateway you want to use. But i think it will not work with Wingate together.


greez, TFTS
TFTomSun
 
Posts: 27
Joined: Sep 28 05 8:07 pm


Return to WinGate

Who is online

Users browsing this forum: No registered users and 75 guests

cron