No is not, is just what i see doing some sniffing on my mikrotik box, where my costumers connect, i am sure i still missing few IPs.

Regards

I am doing it this way currently on my router however knowing all of
youtube's IP addresses is annoying. Do you know if your list is
conclusive?

Ryan Stinn
Holy Trinity Catholic School Division

-----Original Message-----
From: Ricardo Rios [mailto:shorew...@malargue.gov.ar]
Sent: Monday, February 18, 2013 4:46 PM
To: Squid Users
Subject: Re: [squid-users] Redirect Youtube out second ISP

I have that working but using www.shorewall.net [1] 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 [2]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.



Links:
------
[1] http://www.shorewall.net
[2] http://www.shorewall.net/Documentation_Index.html

Reply via email to