The company has a server in Santiago, which has a very fast download speed of several MB and can access youtube and facebook. The access speed from me is also very fast, and scp can reach 1 M/s. So I went online to search for the tutorial and got the ssh proxy in this article. Ssh-qTfnN-D7070username@sshserver.com reference article 1: just saw this article to prepare for Ubuntu9.10 boot speed, added the article
The company has a server in Santiago, which has a very fast download speed of several MB and can access youtube and facebook. The access speed from me is also very fast, and scp can reach 1 M/s.
So I went online to search for the tutorial and got the ssh proxy in this article.
Username@sshserver.com ssh-qTfnN-D 7070
Refer to article 1:
I just saw this article about how to speed up the boot speed of Ubuntu 9.10. After I added the PPA mentioned in the article and executed sudo apt-get dist-upgrade, I found that the LaunchPad server was too slow, I couldn't install ureadahead for an hour at that snail like speed, which is a waste of time and even a waste of life. I have the resources I can use to accelerate the download speed of LaunchPad in China, of course, by the way, I would like to sum up all the ultimate methods I know of crawling the "Great Wall" under Ubuntu/Linux!
Ubuntu is currently the most efficient, stable, and fast. The simplest way to climb the "Great Wall" is through SSH port forwarding and VPN (PPTP and OpenVPN, this article will introduce them one by one. The ultimate goal is to speed up the download speed of some foreign websites/servers, and fix the websites you cannot open normally, to obtain important Linux learning resources on websites such as Blogspot introduced on Tuxmachines.
Use SSH in Ubuntu to implement port forwarding and bypass access to the target server
Generally, the Linux system comes with the client tool openssh-clients. You do not need to install other clients (PuTTY, SecureCRT, MyEnTunnel, and other tools in Windows) you can use SSH port forwarding to climb the "Great Wall! You only need a command to connect to the SSH server and then forward it through the local port. Then, the Firefox browser can connect to the remote SSH server through the SSH encrypted tunnel, and then access the entire Internet through this server.
Username@sshserver.com ssh-qTfnN-D 7070
In this command, 7070 is an unused local port to establish an encrypted tunnel, and the username@sshserver.com represents the user name and password of your SSH server, respectively.
Enter this command in the terminal, press enter, and then enter the password to create an SSH port forwarding. The advantage of this command is that ssh will still run in the background even if you close the terminal window. After an ssh encryption proxy is successfully established, set the socks proxy server of your FireFox browser to port 127.0.0.1 to 7070 to bypass the target website that cannot be opened normally.
Refer to article 2:
I. 1) You have to register an ssh account. If you have a free account, you can use it for free. Http://www.cjb.net/shell.html can be registered free of charge here
2) You need to log on to the ssh account to confirm, but the evil GFW has hijacked the DNS of this domain name, so ssh shell.cjb.net cannot be connected directly.
What should we do? I have to use an IP address to log on to XmLu today. You can find the cjb.net ip address 216.194.70.6 on the Internet.
2. the proxy goes over the wall.
1) Use the SSH proxy command: ssh-qTfnN-D 7070 username@216.194.70.6
Press enter and enter the password to close the shell window. ssh will still run in the background. An SSH-based local proxy is created.
2) the proxy server of the browser is 127.0.0.1 and port 7070, enabling remote dns resolution. In Chrome, after installing the Proxy switchy plug-in, set the Proxy server to 127.0.0.1 and port 7070 in socks Host.
3) then, you can overcome GFW...