On 16/02/2013 12:01 p.m., Pieter De Wit wrote:
On 16/02/2013 11:43, Stinn, Ryan wrote:
I'm wondering if it's possible to use squid to redirect youtube out a
second ISP line. We have two connections and I'd like to push all
youtube out the second connection.
I was thinking I could put a second squid proxy on that line and then
redirect all youtube traffic to it, but I'm not sure how to start this.
Thanks
Ryan
Hi,
Look at the cache_peer_access option if you have the second server.
You could also use a dual gateway option, but this needs some work on
iptables/iproute.
Cheers,
Pieter
It is also worth looking at tcp_outgoing_tos and tcp_outgoing_mark in
Squid-3.2 or later.
PS. you may need a version with
http://bugs.squid-cache.org/show_bug.cgi?id=3767 fixed (will be in 3.2.8
next month, daily 3.2 bug-fix packages have it now).
Amos