install FC6 in vmware fusion 3 hosted in Snow leopard

Use SSH Tunnelling to bypass the GFW

Linkou Bian posted @ Sun, 18 Oct 2009 18:50:54 +0800 in System Admin with tags bypass the GFW , 1283 readers

Author: Link Bian

Date: October 18, 2009

Currently, we can not access twitter and facebook directly due to GFW (The Great Firewall of China). So how to bypass the GFW effectively? I use SSH tunnelling with a proxy server in USA. You should get such an account first and this is well beyond the scope of this article.

Windows

a) install SSH client , Putty for example

b) configure Putty

        host name --> ***.***.***.***

        enable compression

        SSH tunnel port --> 9876 (just for example)

        save the configuration and then open it

c) input your username and password in cmd line of putty

        Please keep the connection alive if you want to access twitter via SSH tunnel! So, DO NOT close the window of putty!

d) configure the proxy in Firefox

        network --> settings --> manual proxy

        SOCKS Host --> 127.0.0.1

        port --> 9876 (same with that configured in Putty session) then add it

        also, you need select Dynamic radio in tunnel configuration page

e) open your firefox and try to access twitter

        If any issues happened, please type about:config in firefox first, and then modify network.proxy.socks_remote_dns to true.

Mac or Linux

a) login to the proxy server

        You can use this command - ssh -D 127.0.0.1:9876 username@proxyserver, then enter your password.

        Also, you can add some additional parameter, for example, -C is used to enable compression, then you will get a satisfying speed.

        If you have another SSH proxy server, your can try that one too~

b) configure your firefox as steps listed in Windows part

Do you think it's a little boring to type password every time? You can use private key and public key to allow automatic login.

From Mac to Windows

a) generate key on your local machine (eg. MacBook Pro)

        ssh-keygen -t rsa

    press "return" directly if shell ask you for a pass phrase, otherwise you will need extra step about ssh-agent

b) create .ssh dir on the remote machine

        ssh username@proxyserver

    You will need enter password here!

        mkdir .ssh

        chmod 700 .ssh

c) copy public key on your local machine to the remote server

    scp ~/.ssh/id_rsa.pub username@proxyserver:.ssh/id_rsa.pub

d) create authorized_keys if needed and then add pub key in it

    touch ~/.ssh/authorized_keys

    cat /root/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

e) On OS X, you must change the permissions of you public key in ~/.ssh to something like 600, otherwise it won’t be accepted as public key because it is too open.

    chmod 600 ~/.ssh/authorized_keys

f) try to access the server via "ssh username@proxyserver" directly, you will not be asked for password again

If you want to use the private key on Windows platform, please go ahead following steps!

g) copy your private key file (id_rsa) to Windows and convert it via Putty Key Generator as follows

    Conversions --> Import Key

    Browse to id_rsa and select it

    Click Save private key as privatekey.ppk for example

h) Configure your Putty

    Connection --> SSH --> Auth --> Browse to privatekey.ppk

    Connection --> Data --> set auto-login username

    Save your configuration and click "open", you will login directly on Windows too. Congratulations!

From Windows to Mac

a) run puttygen.exe to generate public and private keys

b) copy your public key to remote server as step b in From Mac to Windows

c) configure Putty as step h in From Mac to Windows

d) save your configuration and click "open" to access our depot server directly

If you want to use the private key on Mac/Linux platform, please go ahead following steps!

e) back to puttygen.exe, Conversions --> Export OpenSSH key and save it as id_rsa

f) put id_rsa under ~/.ssh/ and you can login directly on your Mac/Linux too.

Avatar_small
AAA said:
Mon, 25 Apr 2022 00:03:34 +0800

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. Selling Credit Card Machines

Avatar_small
AAA said:
Mon, 06 Jun 2022 23:16:51 +0800

Excellent post, thank you a lot for sharing. Do you have an RSS feed I can subscribe to? iphone trade in

Avatar_small
meidir said:
Sat, 03 Dec 2022 22:20:04 +0800

LeBron James looks like Will Smith. Wtf. Woah. Mind fuck now.|UghItsAndrew| iphone 14

Avatar_small
meidir said:
Sun, 15 Jan 2023 01:14:28 +0800

I recently came across your blog and have been scaning along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed scaning what you all have to say 노래방알바

Avatar_small
meidir said:
Wed, 25 Jan 2023 01:02:08 +0800

Only a few blogger would discuss this topic the way you do.”~;”- 성기확대수술

Avatar_small
meidir said:
Thu, 16 Feb 2023 17:33:29 +0800

I loved as much as you’ll receive carried out right here. The sketch is attractive, your authored material stylish. nonetheless, you command get bought an nervousness over that you wish be delivering the following. unwell unquestionably come more formerly again as exactly the same nearly very often inside case you shield this increase. 유흥알바

Avatar_small
meidir said:
Fri, 17 Feb 2023 22:29:00 +0800

if you want to hire some good wedding singers, always look for a singer with a background in classical music.. Buy Instagram PVA Accounts

Avatar_small
Black Satta king 786 said:
Sat, 18 Feb 2023 04:20:27 +0800

The Satta 786 game could be a variety game during which any variety is chosen and bets. If constant variety is asserted because of the winning variety, the punter is asserted as the winner and also the person is awarded eight or nine times the number of the bet. The winner of this game has been declared because of the king of speculation.

Avatar_small
meidir said:
Tue, 21 Feb 2023 01:45:27 +0800

I am frequently to blogging and i also genuinely appreciate your content regularly. This great article has truly peaks my interest. I am about to bookmark your web site and maintain checking for new details. YouTube pva accounts

Avatar_small
Up game king said:
Thu, 02 Mar 2023 13:48:13 +0800

Satta King started in India in 1960 and started very early in Mumbai. Over time, the method of this game has changed, now the winning number is announced by computers at the moment, but before that, it relied entirely on rough guessing. For more information visit: Up game king

Avatar_small
meidir said:
Thu, 21 Sep 2023 19:08:15 +0800 Can I just say thats a relief to get a person that truly knows what theyre discussing on the web. You actually understand how to bring a concern to light and produce it important. The diet need to read this and can see this side with the story. I cant believe youre not more well-liked since you undoubtedly contain the gift. stress
Avatar_small
meidir said:
Sun, 14 Jan 2024 03:42:49 +0800

you are in reality a excellent webmaster. The website loading pace is incredible. It seems that you’re doing any distinctive trick. Also, The contents are masterpiece. you have performed a wonderful task on this subject! SHELL AND TUBE HEAT EXCHANGER DESIGNER MANUFACTURER FPSO FLNG

 

 

===============

 

 

This kind of lovely blog you’ve, glad I found it!? BIO MEDICAL WASTE SOLID LIQUID WASTE INCINERATOR SYSTEM MANUFACTURER

Avatar_small
meidir said:
Sat, 20 Jan 2024 23:13:48 +0800

I’d forever want to be update on new content on this web site , saved to bookmarks ! . What Are AI Agents

Avatar_small
meidir said:
Wed, 24 Jan 2024 21:27:36 +0800

Thank you for this nice post and wonderful read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff your upcoming blog posts… ZLD SYSTEM MANUFACTURER (ZERO LIQUID DISCHARGE SYSTEM)

 

 

=======================

 

 

Can I just say what a reduction to find someone who truly is aware of what theyre talking about on the internet. You definitely know tips on how to convey a problem to light and make it important. More individuals have to read this and perceive this side of the story. I cant consider youre not more common because you positively have the gift. ARSENIC REMOVAL PLANT MANUFACTURER

Avatar_small
Meidir said:
Thu, 18 Jul 2024 03:20:59 +0800

How is it that just anyone can write a weblog and get as popular as this? Its not like youve said something extremely impressive more like youve painted a fairly picture through an issue that you know nothing about! I dont want to sound mean, right here. But do you really think that you can get away with adding some pretty pictures and not definitely say anything? new pictures of john spencer ellis

 

 

=================

 

 

I think this is one of the most vital info for me. And i am glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers news about dr john spencer ellis


Login *


loading captcha image...
(type the code from the image)
or Ctrl+Enter