Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Mirror site for blocked site using Amazon

Posted on 2014-03-16
Medium Priority
Last Modified: 2014-03-20

China's firewall have blocked some international websites, I wish to create a mirror site of these sites so that my friend in China can access.

Greatfire.org has managed to create a mirror site for Reuters China.

The website is at https://s3.amazonaws.com/cn.reuters/index.html

Anyone know what method did they used to create the website?

Full report at :
Question by:Shirley80
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
LVL 27

Accepted Solution

skullnobrains earned 1800 total points
ID: 39932486
no idea how they did, but you can simply proxy the site

in apache this would require to setup a site with something like
ProxyPass /site1 http://name.of.site/

note that the GFC will probably have some kind of analysis that will detect keywords in the page and still block them. also note that when the GFC detects it is circumvented, you usually end up in trouble


you can also setup a regular tcp proxy/forwarder, and possibly allow connections over SSL
use stunnel if you want SSL, and a basic NAT redirection (with source nat as well if you don't need)


you can also setup various other ways to circumvent

if it is for a single or a few friends, setting up an SSH server and instructing them too use the -D option which enables a socks proxy will let them browse the web from a remote location

it'd recommend the latter, and the use of client certificates. the GFC performs man-in-the middle attacks and real-time decoding of some of the SSL traffic. mim attacks on ssh are also a possibility, so be careful.

you can then encapsulate your SSH connection using something like tcp over dns or tcp over http (install httptunnel, htc on the client hts on the server) for much better security and less risk that the GFC will just block the connection without bothering to decode it
LVL 43

Assisted Solution

Rob earned 200 total points
ID: 39933280
You'd be able to comment on this more than I, but would VPN also work? I've heard that's how anyone in China (and Korea) get past the GFC...
And easier to use as a client
LVL 27

Expert Comment

ID: 39933883
i probably don't know more than you do, but let's comment anyway ;)

i guess VPNs would work pretty much the same.

but then a VPN is more obviously used to circumvent the GFC so it probably will attract more attention (just my guessing, there)

i strongly disagree with the fact a VPN is easier to setup, and i'm unsure about setting up a VPN over something like httptunnel

there are also many tor-like networks that may or may not work. as far as i know tor does not or rather only for a few minutes

anyway, one specificity of the GFC is that it changes and is quickly adapted. another is that whatever may work in some locations will not in others (actually i'm pretty sure that you can't setup a VPN in some regions of china, and it is very likely the same would apply to ssh and most of the above mentioned)

maybe a distributed array of httptunnels would be a great bet as long as it is distributed on both sides ? but for now, i guess whatever works and is not too obvious is fine. there are implementations of tcp over about anything (smtp xmpp...). TCP over pigeon is probably the most efficient in order to bypass the GFC (by far) but it is not very suitable for everyday use
A new era in Cloud training has arrived.

A day that will go down in Cloud history.. But are you ready for it? Will you accept this Cloud challenge?

LVL 43

Expert Comment

ID: 39933975
Thanks for the details skullnobrains.

i strongly disagree with the fact a VPN is easier to setup
Server yes definitely, client I've never had much issue running a PPTP just using the Wizard (under windows)

The other reason I've mentioned it is I've travelled in both China and Korea that are firewalled and have been able to use my VPN, albeit at a very slow rate.  Given it's encrypted it's an all or nothing appraoch when it comes to blocking it.  Given everyday international businesses that work out of China have no issue with it , you would think that it woudl work in this case.

As for over a secure http tunnel i couldn't comment
LVL 27

Expert Comment

ID: 39936571
Given it's encrypted it's an all or nothing appraoch when it comes to blocking it.  

not quite. decoding SSL on the fly is clearly feasible with hardware acceleration cards and man-in-the middle approaches, IPSEC is not that much more secure and possibly intentionally breached. as a general rule, breaching encrypted connections is resource-consuming but seldom impossible. certs exchange beforehand obviously makes it much more difficult since they render man in the middle approaches inoperant or much more complicated.

block and don't bother decode is apparently the approach the GFC has towards TOR (but they do read the certs information to identify tor-related operations)

i was pretty sure that in some parts of china (places with none to little commercial activity with foreign countries), there is no way you would make a VPN connection outborders, even now. i'm interested into places you may have been and confirm it was doable

it is said that slowing things down in order to make them unusable is part of their strategy and meant so people won't complain stuff is blocked ; it is also fairly possible that things are slowed down so the corresponding flow (or part of the corresponding flows) can be analysed

... like always, difficult to know.

As for over a secure http tunnel i couldn't comment

i was not suggesting an encrypted http tunnel. rather an encrypted ssh session over a non-encrypted http tunnel (consisting of many http queries transferring a few bytes each), ideally distributed over a great number of hosts on both sides
LVL 43

Expert Comment

ID: 39936581
Great stuff skullnobrains :)  My travels have only been in the major cities when I've been on VPN; Beijing, Shanghai and Hong Kong.  I was surprised that even HK is affected by the GFC.

I'll leave this one in your capable hands.
LVL 27

Expert Comment

ID: 39936686
@rob : thanks for the info.

don't leave it to me : i have no more info than you have, and it is likely that the vpn is the most generic simple working solution around

anyway, we're drifting far from the "mirror site" requirement

@shirley80 : anything usable so far ?
LVL 43

Expert Comment

ID: 39938195
:) I'll still jump in when need be.  Certainly time for a comment from @shirley80.

Author Closing Comment

ID: 39944560
Thanks for the great discussion.
I noob with these stuffs, I will pass this info to my friends and let them decide.
Appreciate all your time!

Featured Post

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question