Linux Build SS Service

Source: Internet
Author: User
Tags server port

Tag: Ack This configures method disable/etc. exe/etc/command

Basic Preparation:

Buy Host: www.virmach.com

Operating experience with Linux systems: Vim, apt-get and other commands

Putty.exe Connection SSH Tool use

Begin

Use Putty to connect and enter your password:

[Email protected] 50.3. 82.152

APT updates the data source:

apt-Get update

System if the Python version is relatively low, that is also updated;

To install the PIP environment:

apt-get Install Python-pip

Using the PIP tool, install Shadowsocks

Pip Install Shadowsocks

To install the encryption method:

Apt-get Install Python-m2crypto

After the installation is complete, we need to add a configuration file:

Vim/etc/shadowsocks.json

The contents of the Shadowsocks configuration file are:

{    "Server":"Replace with service IP Oh",    "Server_port":1234,    "local_address":"127.0.0.1",    "Local_port": the,    "Password":"password to replace with SS",    "Timeout": -,    "Method":"AES-256-CFB"}
name Info
Server Server IP (Ipv4/ipv6), note that this will also be the IP address that the service side listens on
Server_port Server port
Local_port Local port
Password The password to encrypt
Timeout Time-out (seconds)
Method Encryption method, you can choose "BF-CFB", "AES-256-CFB", "DES-CFB", "Rc4″, and so on." Default is an insecure encryption, recommended "AES-256-CFB"

To start the Shadowsocks service:

Ssserver-c/etc/shadowsocks.json-d Start

If you want to stop the service, change the above start to stop

Modify Rc.local, configure to start automatically

Vim/etc/rc.local
#!/bin/sh-is'exit 0' this   DefaultThis-c/etc/shadowsocks.json-0

Project address reference for SS:

Https://github.com/shadowsocks/shadowsocks/tree/master

NONO
Source: http://www.cnblogs.com/diligenceday/
Enterprise Website: http://www.idrwl.com/
Open Source Blog: Http://www.github.com/sqqihao
QQ: 287101329
: 18101055830

Linux Build SS Service

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.