I have that working but using www.shorewall.net Firewall, sending all youtube request to provider number 4

/etc/shorewall/providers

#NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS COPY

cable2 2 2 main eth4:192.168.150.99 192.168.150.199 track,balance=3,loose,mtu=1492 cable3 3 3 main eth4:192.168.150.99 192.168.150.202 track,balance=3,loose,mtu=1492
silica 4 4 main eth6 186.0.190.241 track,balance=2,mtu=1500

/etc/shorewall/tcrules

#MARK SOURCE DEST PROTO DEST SOURCE USER TEST LENGTH TOS CONNBYTES HELPER

#Youtube
4:P 10.0.0.0/24 208.117.253.0/20
4:P 10.0.0.0/24 74.125.228.0/24
4:P 10.0.0.0/24 173.194.60.0/18
4:P 10.0.0.0/24 200.9.157.0/20

http://www.shorewall.net/Documentation_Index.html

Regards

----- Original Message -----

From: "Stinn, Ryan" <ryan.st...@htcsd.ca> To:
"squid-users@squid-cache.org" <squid-users@squid-cache.org> Cc: Sent:
Saturday, 16 February 2013 4:13 AM Subject: [squid-users] Redirect
Youtube out second ISP 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.

Try this:

acl dstdom_regex yt -i youtube
tcp_outgoing_address yt 1.2.3.4

1.2.3.4 is IP address of 2nd line (should be on same machine as squid).

Amm.

Reply via email to