Shadowsocks Guide - norxiva/bunin GitHub Wiki

shadowsocks service

OS: Ubuntu 14.04 LTS

ISP: hkisl (jp/hk, free for 1st month)

install shadowsocks

# apt install build-essential python-pip
# pip install shadowsocks

install and upgrade setuptools and wheel if Ubuntu 16.04 and above.

# pip install setuptools
# pip install wheel

# pip install --upgrade setuptools
# pip install --upgrade wheel

config

# vi /etc/shadowsocks.json

content:

{
  "server": "0.0.0.0",
  "server_port": 8388,
  "local_address": "127.0.0.1",
  "local_port": 1080,
  "password": "your_password",
  "timeout": 300,
  "method": "aes-256-cfb"
}

disable firewall

ufw disable

close iptables

iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F

start shadowsocks service

# ssserver -c /etc/shadowsocks.json -d start

stop shadowsocks service

# ssserver -c /etc/shadowsocks.json -d stop

shadowsocks client

windows

download and install client binary

.net framework 4.6.2+ is necessary.

url: https://github.com/shadowsocks/shadowsocks-windows/wiki/Shadowsocks-Windows-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E

config

  • config server ip, port and password
  • press ok button

config proxy of your browser (e.g. firefox)

set 127.0.0.1:1080

ok, now surfing and enjoy it.

linux mint

install shadowsocks

# apt install build-essential python-pip
# pip install shadowsocks

config (same as server config file)

start client

# sslocal -c /etc/shadowsocks.json

install polipo

# apt install polipo

config polipo

# vi /etc/polipo/config

content:

# This file only needs to list configuration variables that deviate
# from the default values. See /usr/share/doc/polipo/examples/config.sample
# and "polipo -v" for variables you can tweak and further information.
logSyslog = false
logFile = "/var/log/polipo/polipo.log"

socksParentProxy = "127.0.0.1:1080"
socksProxyType = socks5

chunkHighMark = 50331648
objectHighMark = 16384

serverMaxSlots = 64
serverSlots = 16
serverSlots1 = 32

proxyAddress = "0.0.0.0"
proxyPort = 8123

restart polipo service

# /etc/init.d/polipo restart

check using curl

# export http_proxy=”http://127.0.0.1:8123/” 
# curl www.google.com

you can get google return page content.

config proxy of your browser using 127.0.0.1:8123

Now enjoy it.

Reference

vps isp

https://www.zhihu.com/question/20800554

http://www.laozuo.org/myvps

https://bwh1.net/index.php

https://www.vultr.com/

https://www.hkisl.net/index.php

VPS, OpenVZ, Xen, KVM

http://www.vpsxxs.com/

https://blog.csdn.net/vpsxxs/article/details/60762695

http://www.jb51.net/yunying/104777.html

HVM

https://www.cnblogs.com/softidea/p/6207040.html

shadowsocks

https://github.com/shadowsocks/shadowsocks/wiki

https://blog.csdn.net/qq_32545559/article/details/79203896

https://blog.csdn.net/lisen9lisen/article/details/78157572

https://blog.csdn.net/u013148839/article/details/78683857

https://blog.csdn.net/superbfly/article/details/54950451

https://github.com/shadowsocks/shadowsocks-manager/wiki/WebGUI

https://blog.csdn.net/u011054333/article/details/52496303

vpn

http://www.xinhuanet.com/tech/2017-02/07/c_1120421682.htm

iptables

https://www.cnblogs.com/wclwcw/p/6140263.html