Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Multipath and Youtube

Hi there,
I have an ASG220.  I have three DSL lines which are setup in uplink balancing with multipath.  I would like to add a Multipath rule to force all youtube traffic through the 3rd DSL modem.
When adding a multipath rule would it look something like this:
Source:  ANY
Service:  HTTP
Destination:  Host = youtube.com
Itf. Persistence: Interface
BIND Interface:  DSL3 (this is my 3rd dsl modem interface)

The part I am unsure about really is the Destination.  Do I use w w w.youtube.com, or some form of wildcard?


This thread was automatically locked due to age.
  • u can  use www. youtube. com  then only the DNS is resolved and we can see a IP 74.125.127.100

    you can cross check this IP from this website 
    http: // www. who .is /dns/ and search for youtube.com , the result is the same ip network 74.125.0.0 and the type of DNS Record is - maps the hostname to an IP address , the content is to be found as "Mountain View, CA, US".


    if you use youtube. com as the destination then u can see it says unresolved .. 

    now in your multipath rule 
    type : DNS host (if you use "host" and enter www.youtube .com it displays message invalid object parameter i.e basically u have to provide a IP address if u choose HOST )
    so go for type as DNS host , as u know DNS hosts are useful when working with dynamic
    IP endpoints.
    Hostname : http://www. youtube. com

    and Bind it to the DSL3 interface

    you can bind this hostname to the DSL3 interface also from Defintions > networks >> add new network definition  >> type as DNS host , interface - DSL3 (in your case) , Hostname : www. youtube. com 
    thats it ur good for go  
    u can see this network definition appears in the list as Bound to DSL3 interface 

    hope this was useful :-)
  • Hi
    Did it work for you?
    I have the same issue, but the traffic doesn't go to dedicated wan link instead it goes to another wan link?
     asg 220 7.502
    HTTP proxy AD/SSO
  • traffic doesn't go to dedicated wan link instead it goes to another wan link

    Please be more specifi - Which link has the default gateway?  What traffic? Are you using any proxies?

    Cheers - Bob
  • You may have a problem with that approach of just using www.youtube. com - Youtube uses a lot of content distribution companies around the world to move content to a much more local location vs. streaming everything from their HQ in the US.  You could therefore be served content from their local cloud representation - if I recall Akamai is used quite a bit, therefore the IP address wouldn't necessary be a www.youtube. com address but redirected to via a local service i.e. ***.deploy.akamaitechnologies.com address - or whomever they use locally to you.

    Not sure how the Astaro solution could be directed to deal with this.
  • I have two interfaces each has a default gateway (for ADSL and LL)
    I am using (as I mentioned ) HTTP proxy in AD SSO mode
    I want most of the web surfing traffic to go to the Leased Line interface
    but for some sites I want the traffic to go to the ADSL 
    both traffic are web surfing (HTTPs and HTTP etc..)
    the problem is I configured  rules 
    uplink primary address->websurfing->example.com :BY interface :Bind interface ADSL interface
    uplink primary address->websurfing->any :BY interface :Bind interface Leased Line interface
    the traffic  goes only to the second rule (to the leased line)

    is it possible?
  • Just a thought, are you using "Uplink balancing"?  You should be able to turn this on and define the preferred internet connection order for your users to use the LL/ADSL.
    If for example, you set your LL as the first interface to be used, you could then set a rule under "Multipath Rules" to send particular websites via the ADSL link.  You may still have a problem for sites like youtube who use multiple redirects to other providers/sites.
  • That looks right to me, techuser.  Something is causing the traffic to NOT be selected by the first rule.  Are you sure the traffic selectors are correct? 'Internal (Network) -> Web Surfing -> {example.com}' and 'Internal (Network) -> Web Surfing -> Internet' is what I would have expected.

    Cheers - Bob
  • Is http proxy traffic subject to the multipath rules? I was under the impression that all http proxy traffic went out the interface with the default gateway.
  • Not according to KnowledgeBase Article 303439: "Forcing HTTP (or other unique traffic) over a specific interface when balancing WAN links."

    Cheers - Bob