Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Routing traffic based on content type

Sep 29 13 2:27 am

Can WinGate do the following. I have 2 internet connections available. I would like all video traffic to only use one of the connections and other traffic to use the other. Is this possible?

Re: Routing traffic based on content type

Sep 30 13 10:14 am

Hi

you can use flow-chart policy to specify which connection to use on a request-by-request basis, so you could do something approaching this. E.g. have certain sites go through a certain link.

You can't do it on returned Content-Type in the response, since by then it's too late to change connection, so it needs to be done in the request. To do this, hook a policy (or edit existing policy) attached to the ProxyRequest event. You could use a map lookup object, in the top, select {{Request.Server}} then use pattern matching.

E.g. *.youtube.* map to 192.168.0.1 (or whatever the IP is of the secondary gateway)

in result at bottom, enter

Session.Gateway = Result

This then allows you to map the gateway per site. If you don't select the option to assign a result if none match, then non-matching sites will use the default connection.
Post a reply