youtube routes on other interface

Taking care of your Linux box.

youtube routes on other interface

Postby cyph3r » Wed May 12, 2010 7:43 pm

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
Regards,
Mehmood Ahmed |cyph3r|
(+92)345-2835810
E-mail:cyph3r.07@hotmail.com
cyph3r
Lance Naik
 
Posts: 46
Joined: Tue Jan 22, 2008 1:27 am
WLM: cyph3r.07@hotmail.com

Postby Shahbaz_Aslam » Thu May 13, 2010 3:18 pm

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
Shaz
Shahbaz_Aslam
Lance Naik
 
Posts: 23
Joined: Fri Sep 01, 2006 12:16 am
AOL: friendshaz

Postby mudasir » Fri May 14, 2010 6:30 pm

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
Captain
 
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Website: http://www.crystalnetworks.org
Location: Dubai

Postby Shahbaz_Aslam » Sat May 15, 2010 5:01 am

use youtube.com instead of ips..
Shaz
Shahbaz_Aslam
Lance Naik
 
Posts: 23
Joined: Fri Sep 01, 2006 12:16 am
AOL: friendshaz

Postby mudasir » Sat May 15, 2010 5:13 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
Captain
 
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Website: http://www.crystalnetworks.org
Location: Dubai

Postby Shahbaz_Aslam » Sat May 15, 2010 12:42 pm

block whole CIDR then
72.14.204.0/24 port 80

am using OpenDNS for all
Shahbaz_Aslam
Lance Naik
 
Posts: 23
Joined: Fri Sep 01, 2006 12:16 am
AOL: friendshaz

Re: youtube routes on other interface

Postby TheOne4U » Tue Oct 12, 2010 5:43 pm

[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
TheOne4U
Lance Naik
 
Posts: 19
Joined: Sat Sep 20, 2003 1:49 am
WLM: drcool@hotmail.com
Location: Karachi

Postby mudasir » Fri Oct 15, 2010 6:44 pm

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
Captain
 
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Website: http://www.crystalnetworks.org
Location: Dubai

Postby TheOne4U » Sun Oct 17, 2010 6:29 pm

[quote="mudasir"]These are not the only IP range that are being used by google / youtube. I have many more IP's taken from authentic source.[/quote]

I know these are not the only Ip Pools but these are the IP Pools on which google route Pakistan IPs traffic on bases of DNS and AS Numbers.

TheOne4u
TheOne4U
Lance Naik
 
Posts: 19
Joined: Sat Sep 20, 2003 1:49 am
WLM: drcool@hotmail.com
Location: Karachi

Postby mudasir » Sun Oct 17, 2010 8:56 pm

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.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
mudasir
Captain
 
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Website: http://www.crystalnetworks.org
Location: Dubai

Postby lambda » Sun Oct 17, 2010 10:29 pm

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: 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.
$
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).
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"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby TheOne4U » Mon Oct 18, 2010 3:25 pm

[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
TheOne4U
Lance Naik
 
Posts: 19
Joined: Sat Sep 20, 2003 1:49 am
WLM: drcool@hotmail.com
Location: Karachi


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 0 guests

cron