Multiple routing on a PC based on port numbers - is it possible ?

Associate
Joined
18 Oct 2002
Posts
1,884
Location
T'internet
Current situation is that I have 2x ADSL connections on seperate lines coming into my house. One is my personal one and the other is provided by work but I can use it for private use as well.

What I'd like to be able to do is use each ADSL connection based on the port numbver of the application being used. For example web and gaming traffic using ADSL1 and torrents and internet radio streams using ADSL2

Its easy to do on a layer 4 switch which I can get hold of from work but these aren't cheap and are generally noisy as they're designed to be used in datacentres....not a quiet office.....and the ones I can "borrow" from work are just too big anyway.

So is there any way to do this on a PC with two ethernet ports ? Closest I can do at the moment would be to have static route entries on the PC which would route traffic to either of the gateway addresses depending on the destination IP address. But this won't be able to route based on the application being used.

Anybody else done anything like this on a Windows based PC before ?

Failing that has anyone got any recommendations for a cheap, small & quiet SOHO switch that can do the same job ?
 
I'm not sure how easy this would be to do with simple software, or if any cheap router would be able to do it so I'm quite curious as well.

One thing that can do it is the NetScreen 5GT, and presumably the newer SSG5 models as well. With the most recent firmware these support Policy Based Routing which allows you to do exactly what you want. However, they're not particularly cheap, but you might be able to find a 5XT/5GT on an auction site or something for a good price.

When I had both my cable and ADSL active at the same time, I used to have outgoing HTTP/HTTPS traffic going out on my ADSL link, while everything else went out on my cable.
 
Cheers. Had a look at them and it looks like for the price they go for I could probably buy a modular Cisco router which I'm much more familiar with.....but I might be tempted to get one so I could put Juniper network devices on my CV :)
 
Back
Top Bottom