How to configure ShadowSock to achieve scientific Internet access

Source: Internet
Author: User
Tags install openssl openssl centos vps iptables port number git clone
Speaking of "scientific Internet access", it is really admirable for the perseverance and creativity of Chinese people. The word "scientific Internet" can be understood slowly. Today, the author of fqrouter on twitter published an announcement about service closure. Among the most popular scientific Internet software in 2014 selected by netizens, fqrouter ranked first in total and second in effect, second only to shadowsocks. fq is a very good Android APP, clean, Clean, useful, and fast. It is a pity that the service cannot be provided.

 

 

The close of fq has turned our friends to shadowsocks. What is shadowsocks? How can we use it for scientific Internet access? Today, no child GE will write this small article to talk to you.

 

What is Shadowsocks?

 

Shadowsocks is essentially a socks5 proxy service, similar to an ssh proxy. Unlike the global proxy of vpn, shadowsocks is only for browser proxy and cannot be used for agent applications, such as youtube or twitter client software. If you compare a vpn to a dragon knife, shadowsocks is a Swiss Army knife, which is lightweight and convenient, but has powerful functions.

 

If you use the ss, run a small program in the background, and then click switch to switch the SS network in the browser. Switch back when you don't need it. This is also a lightweight place.

 

How to use shadowsocks?

 

First of all, of course, you need a shadowsocks account, which is shared by enthusiastic online users for free. For example, if necessary, you can also send a private message to me @, I can provide a free shadowsocks account provided by instructor penny.

 

Windows platform & uarr;

 

1. Download a shadowsocks client program (Baidu online storage). You can use it after unzipping it.
2. Run the program shadowsocks.exe in the folder after decompression. As shown in the following figure, set the account information of shadowsocks and click save;

 

 

3. download and install chrome's browser plug-in Proxy SwitchySharp (or download from Baidu online storage, open chrome, enter chrome: // extensions, and drag the downloaded crx file to install it ), after the download is complete and enabled, you can see the program icon in the upper right corner of chrome, click the option, as shown in the following figure to save the settings;

 

 

4. Switch to shadowsocks;

  

5. Next, open youtube in chrome and test OK. No problem.

  

If you do not need a shadowsocks network, select "use system proxy settings" to restore the shadowsocks network. (This is reprinted from the simplified book. If you can't see the picture, you can go to the original article .)

 

Mac OSX Platform & uarr;

 

Download the client program under mac first (Baidu online disk download, the subsequent process is the same as win, it can be used through chrome plug-in, no longer described.

 

IOS platform & uarr;

 

Directly search for and download shadowsocks in the appstore (safari directly downloads the shadowsocks). After the app is opened, it is a browser with a built-in public server. You can directly enter the URL to open youtube. Of course, sometimes the public server may be unstable. You can set your own server to use it in the same way as windows.

 

 
Android Platform & uarr;

 

The software under Android is called" Tissot"(GooglePlay download), you can search for and download in googleplay. Its function is basically the same as that of IOS. There is no built-in browser. Open the configured server and open the browser.

 

How to build your own shadowsocks Service & uarr;

 

If you have a foreign buddy, you can also build a server for you, or you have rented your own server (VPS) in a foreign machine room, the following method, it allows you to build a shadowsocks server for your own use, so you don't have to hit the wall with science programmers like other crazy dogs.

 

The following describes how to install shadowsocks on CentOS6.

 

Centos6 install shadowsocks lightweight server transfer package transfer (proxy) tool

 


Step 1: install openssl-devel

# Yum install openssl-devel

Step 2: install the make command

Make is the gcc compiler. It must be installed when VPS is purchased. Since the centos system is installed to a minimal extent on the server, we need to install the make command on our own.

Installation:

# Yum-y install gcc automake autoconf libtool make

Install g ++:

# Yum-y install gcc-c ++

Step 3: install the git command

# Yum-y install git

[Final View version: git -- version]

Step 4: download the source code package, compile and install the package

# Git clone https://github.com/madeye/shadowsocks-libev.git

# Cd shadowsocks-libev

#./Configure

# Make & make install

Step 5: Add a firewall rule (optional) if a firewall is installed. I have not done this step)

# Iptables-I INPUT-p tcp-m tcp -- dport 8123-j ACCEPT # add the rule, and the port number is

# Service iptables save # save

# Iptables-L-n # View iptables rules

Step 6: start shadowsocks

Nohup ss-server-s ipaddress-p port-k password &
Note: ipaddress is the IP address of the vps space, port is the port number, and password is the password.

 

The only pity is, how can I automatically start shadowsocks after the server is restarted? If you know the method, leave a message below.

 

After completing the steps above, your centos is a shadowsocks transfer station, and then you can use the method mentioned in the second section on your windows computer to scientifically access the Internet cafe.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.