Route ports through different gateways

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

Moderator: Qbik Staff

Route ports through different gateways

Postby hacktek » Feb 19 09 4:05 pm

Hi.

I'm currently testing load balancing with 2 cable modems (mostly for doubling speed when downloading from newsgroups), it works mostly fine but some times only one modem hooks to the server so my speed is not doubled. Since the usenet provider accepts connections on different ports (563 and 443 would be the ones i'm interested in), is there a way i can route each of those ports to different gateways so i get connections on both modems every time?

I tried messing around with the port forwarding settings and also bandwidth control and it didn't work.

Another idea i have is connecting to different servers and setting static routes so connections to each server leave through different gateways, i haven't actually been able to nail it.

Any clues?

Thanks!
hacktek
 
Posts: 5
Joined: Feb 19 09 3:58 pm

Re: Route ports through different gateways

Postby hacktek » Feb 19 09 4:34 pm

Well, answered my own question with the 2nd idea. Found out the ip subnets of the 2 servers to which i wanted to connect and made static routes for each subnet on each modem. One downside of this is that there's really no failover, if a modem fails then re connections will not occur on the other one, however when the other modem comes back online connections start to restart and full speed is attained.
hacktek
 
Posts: 5
Joined: Feb 19 09 3:58 pm

Re: Route ports through different gateways

Postby adrien » Feb 19 09 5:28 pm

You can use TCP mapping proxies for this.

If you create a TCP mapping proxy on say port 563, and don't set any map to information, and get it to intercept connections, then any connection it intercepts it will connect through to the original (intercepted) destination IP:port. The point of this is that you can then specify a gateway policy to tell it which gateway to use, and you can use failover in this gateway policy, so if the primary gateway you assign for that port goes down, it can still use the other one.

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: Route ports through different gateways

Postby hacktek » Feb 28 09 5:31 am

That's excellent, good to know. I can probably use this to load balance clients connecting to wingate as a gateway (nat).

Thank you
hacktek
 
Posts: 5
Joined: Feb 19 09 3:58 pm


Return to WinGate

Who is online

Users browsing this forum: No registered users and 16 guests