youtube routes on other interface
youtube routes on other interface
wan1 = eth1
wan2 = eth2
lan = eth3
i want to add youtube route to ether2
and all other traffic to ether1
can anyone tell me youtube routes
wan2 = eth2
lan = eth3
i want to add youtube route to ether2
and all other traffic to ether1
can anyone tell me youtube routes
-
- Lance Naik
- Posts: 23
- Joined: Fri Sep 01, 2006 12:16 am
no for sure what you exactly need.,
1. Drop all traffic for reaching destination IP:
74.125.45.100
74.125.67.100
74.125.127.100
on interface eth1
2. Accept all traffic for reaching destination IP:
74.125.45.100
74.125.67.100
74.125.127.100
on interface eth0
3. enabled Masquerading on both.
hope helpful
Shahbaz
1. Drop all traffic for reaching destination IP:
74.125.45.100
74.125.67.100
74.125.127.100
on interface eth1
2. Accept all traffic for reaching destination IP:
74.125.45.100
74.125.67.100
74.125.127.100
on interface eth0
3. enabled Masquerading on both.
hope helpful
Shahbaz
Shaz
is that the complete list of ip addresses used by youtube. i dont think so.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
-
- Lance Naik
- Posts: 23
- Joined: Fri Sep 01, 2006 12:16 am
i did try that string match thing some time back about a year back, it does not work 100%
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
-
- Lance Naik
- Posts: 23
- Joined: Fri Sep 01, 2006 12:16 am
Re: youtube routes on other interface
[quote="cyph3r"]wan1 = eth1
wan2 = eth2
lan = eth3
i want to add youtube route to ether2
and all other traffic to ether1
can anyone tell me youtube routes[/quote]
SALAM,
if you want to route all youtube and google data on wan2
add these lines in your /etc/rc.local
###start
route add -net 74.125.0.0 netmask 255.255.0.0 gw IP-Of_GAYEWAY dev eth2
route add -net 72.14.192.0 netmask 255.255.192.0 gw IP-Of_GAYEWAY dev eth2
route add -net 64.233.160.0 netmask 255.255.224.0 gw IP-Of_GAYEWAY dev eth2
###end
TheOne4u
wan2 = eth2
lan = eth3
i want to add youtube route to ether2
and all other traffic to ether1
can anyone tell me youtube routes[/quote]
SALAM,
if you want to route all youtube and google data on wan2
add these lines in your /etc/rc.local
###start
route add -net 74.125.0.0 netmask 255.255.0.0 gw IP-Of_GAYEWAY dev eth2
route add -net 72.14.192.0 netmask 255.255.192.0 gw IP-Of_GAYEWAY dev eth2
route add -net 64.233.160.0 netmask 255.255.224.0 gw IP-Of_GAYEWAY dev eth2
###end
TheOne4u
These are not the only IP range that are being used by google / youtube. I have many more IP's taken from authentic source.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Dear,
I can assure you this also that these are not the only IP's that are being routed for Pakistan.
I have setup a mechanism to trace all the IP's of youtube that are being used on my network and i have about 26 different IP series available with me.
I can assure you this also that these are not the only IP's that are being routed for Pakistan.
I have setup a mechanism to trace all the IP's of youtube that are being used on my network and i have about 26 different IP series available with me.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
i once noticed my computer downloading something when i wasn't doing anything. i ran tcpdump and found that it was downloading something from a server on ptcl's network. ran "host" on the ip to see what it was, and it was one of google's servers. my browser (chrome) was downloading its safe browsing list from there.
in fact,youtube.com is not on that network, but they might have a youtube cache host there (which is where the actual video content comes from, not the webpages).
in fact,
Code: Select all
$ host google.com.pk.
google.com.pk has address 221.120.218.34
google.com.pk has address 221.120.218.28
google.com.pk has address 221.120.218.29
google.com.pk mail is handled by 10 google.com.s9b2.psmtp.com.
google.com.pk mail is handled by 10 google.com.s9a2.psmtp.com.
google.com.pk mail is handled by 10 google.com.s9b1.psmtp.com.
google.com.pk mail is handled by 10 google.com.s9a1.psmtp.com.
$
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
[quote="lambda"]i once noticed my computer downloading something when i wasn't doing anything. i ran tcpdump and found that it was downloading something from a server on ptcl's network. ran "host" on the ip to see what it was, and it was one of google's servers. my browser (chrome) was downloading its safe browsing list from there.
in fact,[code]$ host google.com.pk.
google.com.pk has address 221.120.218.34
google.com.pk has address 221.120.218.28
google.com.pk has address 221.120.218.29
google.com.pk mail is handled by 10 google.com.s9b2.psmtp.com.
google.com.pk mail is handled by 10 google.com.s9a2.psmtp.com.
google.com.pk mail is handled by 10 google.com.s9b1.psmtp.com.
google.com.pk mail is handled by 10 google.com.s9a1.psmtp.com.
$ [/code]youtube.com is not on that network, but they might have a youtube cache host there (which is where the actual video content comes from, not the webpages).[/quote]
These are the Local Pakistan Google Node co-located at PTCL Data Center With IP Pools
221.120.207.0/24 @ Karachi
221.120.218.0/24 @ Lahore
TheONe4u
in fact,[code]$ host google.com.pk.
google.com.pk has address 221.120.218.34
google.com.pk has address 221.120.218.28
google.com.pk has address 221.120.218.29
google.com.pk mail is handled by 10 google.com.s9b2.psmtp.com.
google.com.pk mail is handled by 10 google.com.s9a2.psmtp.com.
google.com.pk mail is handled by 10 google.com.s9b1.psmtp.com.
google.com.pk mail is handled by 10 google.com.s9a1.psmtp.com.
$ [/code]youtube.com is not on that network, but they might have a youtube cache host there (which is where the actual video content comes from, not the webpages).[/quote]
These are the Local Pakistan Google Node co-located at PTCL Data Center With IP Pools
221.120.207.0/24 @ Karachi
221.120.218.0/24 @ Lahore
TheONe4u