Forcing Google Services to local (RSA) IP address

If something isn't working, then please let me know. I've said in my original post what you should include.
 
ok, pada, this is what my hosts file looks like now:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

#
# Thanks goes to Catal, HavocXphere, Blogbytes & fragtion_ for contributing hostnames
#

# On SAIX:
# <Google IP> = 165.165.38.147
# <YouTube IP> = 165.165.38.144
# <Facebook IP> = 165.165.39.200 / 165.165.39.202 / 165.165.39.203

# Google Searching
165.165.38.147 www.google.co.za
165.165.38.147 www.google.com
165.165.38.147 google.com
165.165.38.147 google.co.za

# Gmail and chat withing Gmail
165.165.38.147 mail.google.com
165.165.38.147 chatenabled.mail.google.com

# Google Code & Pada's Traffic Splitter Google Code address
165.165.38.147 www.gmodules.com
165.165.38.147 traffic-splitter.googlecode.com
165.165.38.144 www.googlecode.com
165.165.38.144 code.google.com

# Blogspot
165.165.38.147 www.blogspot.com
165.165.38.147 bp0.blogger.com
165.165.38.147 bp1.blogger.com
165.165.38.147 bp2.blogger.com
165.165.38.147 bp3.blogger.com
165.165.38.147 0.bp.blogspot.com
165.165.38.147 1.bp.blogspot.com
165.165.38.147 2.bp.blogspot.com
165.165.38.147 3.bp.blogspot.com
165.165.38.147 4.bp.blogspot.com
165.165.38.147 image.blogspot.com
165.165.38.147 buttons.blogger.com
165.165.38.147 upload.blogspot.com
165.165.38.147 googleappengine.blogspot.com
165.165.38.147 www.blogger.com
165.165.38.147 www.blogblog.com
165.165.38.147 img1.blogblog.com
165.165.38.147 img2.blogblog.com
165.165.38.147 www1.blogblog.com
165.165.38.147 www2.blogblog.com

# Google Eath & Google Maps
165.165.38.147 maps.google.co.za
165.165.38.147 maps.google.com
165.165.38.147 csi.gstatic.com
165.165.38.147 maps.gstatic.com
165.165.38.147 gg.google.com
165.165.38.144 kh.google.com
165.165.38.144 mw1.google.com
165.165.38.144 mw2.google.com
165.165.38.144 earth.google.com
165.165.38.144 mt0.google.com
165.165.38.144 mt1.google.com
165.165.38.144 mt2.google.com
165.165.38.144 mt3.google.com
165.165.38.144 khm.google.com
165.165.38.144 cbk0.google.com
165.165.38.144 cbk1.google.com
165.165.38.144 cbk2.google.com
165.165.38.144 cbk3.google.com

# Other Google Services
165.165.38.147 news.google.com
165.165.38.147 blitz.appspot.com
165.165.38.147 www.google-analytics.com
165.165.38.147 ssl.google-analytics.com
165.165.38.147 t0.gstatic.com
165.165.38.147 t1.gstatic.com
165.165.38.147 t2.gstatic.com
165.165.38.147 t3.gstatic.com
165.165.38.147 www.gstatic.com
165.165.38.144 books.google.co.za
165.165.38.144 books.google.com
165.165.38.144 calendar.google.com
165.165.38.144 video.google.com
165.165.38.144 translate.google.com
165.165.38.144 docs.google.com
165.165.38.144 appengine.google.com
165.165.38.144 clients1.google.com
165.165.38.144 clients2.google.com
165.165.38.144 clients3.google.com
165.165.38.144 clients4.google.com
165.165.38.144 clients5.google.com
165.165.38.144 id.google.com
165.165.38.144 dl.google.com

# YouTube
165.165.38.147 ad-emea.doubleclick.net
165.165.38.147 s.ytimg.com
165.165.38.147 webcache.googleusercontent.com
165.165.38.144 youtube.co.za
165.165.38.144 youtube.com
165.165.38.144 www.youtube.co.za
165.165.38.144 www.youtube.com
165.165.38.144 www.youtube-nocookie.com
165.165.38.144 i1.ytimg.com
165.165.38.144 i2.ytimg.com
165.165.38.144 i3.ytimg.com
165.165.38.144 i4.ytimg.com

# Facebook
165.165.39.200 www.facebook.com
165.165.39.200 static.ak.fbcdn.net
165.165.39.200 profile.ak.fbcdn.net
165.165.39.200 upload.youtube.com

now, when i try to access gmail, i get the following error: http://mybroadband.co.za/photos/showphoto.php/photo/17626/title/error/cat/500 :cry:

ping results: Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\User>ping mail.google.com

Pinging mail.google.com [165.165.38.147] with 32 bytes of data:

Reply from 165.165.38.147: bytes=32 time=46ms TTL=60
Reply from 165.165.38.147: bytes=32 time=45ms TTL=60
Reply from 165.165.38.147: bytes=32 time=45ms TTL=60
Reply from 165.165.38.147: bytes=32 time=46ms TTL=60

Ping statistics for 165.165.38.147:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 45ms, Maximum = 46ms, Average = 45ms

C:\Documents and Settings\User>

i can (still) access google, youtube and facebook :)
i wasn't able to access google maps while capped before making the above changes - i can now - thanks very muchly! :D
 
Last edited:
OK awesome to hear that.

The image you posted didn't upload correctly. My guess is it complained about the certificate.
Basically the browser would moan about the certificate, because it was intended for www.google.co.za and not for mail.google.com.
I'd suggest that you do check that the certificate is still valid, except for the name difference. I think I've already mentioned that earlier in this thread.
 
Hey sincerious:
You'll notice that you got exactly the error that I though.

Read the error message:
Certificate is only valid for www.google.com.
and
ssl_bad_cert_domain

If you go and view the certificate details and then the certificate hierarchy MUST start with a builtin object token. This is what it will say in Firefox:
Code:
Builtin Object Token:Verisign Class 3 Public Primary Certificate Authority
  Thawte SGC CA
     www.google.com
If it's not a certificate that originated from the Builtin Object Token, you MUST NOT continue to the site!
 
Pada,are you allowed to upload Bind9 to Quickshare?
If so, can anyone? would love to try it before tomorrow.
 
ok pada, i now have a different problem...

when clicking on the gmail tab in google, i get the following error message - and not the error i was getting last night (ref my pic):

The connection was interrupted
The connection to www.google.com was interrupted while the page was loading.
* The site could be temporarily unavailable or too busy. Try again in a few
moments.
* If you are unable to load any pages, check your computer's network
connection.
* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
TRY AGAIN (doesn't work).
i decided to see what would happen if i tried opening gmail using ie8 - and i could actually get to the login page, but after entering my details, i got the following error:

There is a problem with this website's security certificate.
The security certificate presented by this website was issued for a different website's address.
Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.
We recommend that you close this webpage and do not continue to this website.
Click here to close this webpage.
Continue to this website (not recommended).
More information
If you arrived at this page by clicking a link, check the website address in the address bar to be sure that it is the address you were expecting.
When going to a website with an address such as https://example.com, try adding the 'www' to the address, https://www.example.com.
If you choose to ignore this error and continue, do not enter private information into the website.
For more information, see "Certificate Errors" in Internet Explorer Help.​
:confused:
 
Last edited:
here's the bind9 setup on quickshare: http://www.quickshare.co.za/files/3zc9i8y0/BIND9.6-ESV-R1.zip.html

sincerious: you're just getting the same certificate error in Internet Explorer. I would do the same in Internet Explorer, by checking the validity of the certificate hierarchy again. In IE8 the certificate hierarchy is called 'Certification Path'.
Unfortunately I have no idea what is causing the trouble in Firefox though.
 
Last edited:
ok, pada, i've been going through ie8 help (seeing as i can't get to firefox help) and all i find when searching for "certification path" is how to "Reset Internet Explorer to the default settings" ...?
anyway, here's a screenshot that may tell you something: http://mybroadband.co.za/photos/showfull.php?photo=17636. if not, don't worry, it's only 8 and half more hours until happy time commences :p
 
You're doing something wrong! You can't find the certificate info by clicking properties on the page...

Perhaps you should click Continue and then you can view the certificate.
 
sorry guys i cannot save hosts file through note pad.it gives me "acquried permission from addministrater"error in Win7 32 bit sys:confused:
 
nettracker: open notepad with administrative permissions or just disable UAC completely.
 
Shweeet, Thanx I was wondering where I would be able to find some info on Routing your Facebook,youtube,Google Traffic through some local servers, without using a VPN...
 
Top
Sign up to the MyBroadband newsletter
X