connect shadowsocks server on ubuntu via ss-local

Server config

Set up your own shadowsocks server or found/buy one.
You should have a shadowsocks server with below informations:

  • server ip
  • server port
  • password
  • method

install

sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y
sudo apt-get update
sudo apt install shadowsocks-libev

configure

match to the server's info.

sudo vim /etc/shadowsocks-libev/config.json
{
    "server":"xx.xx.xx.xx", // server IP
    "server_port":8911,
    "local_port":1008, // local port
    "password":"jesuslove",
    "timeout":60,
    "method":"chacha20-ietf-poly1305"
}

run ss-local

sudo ss-local -c /etc/shadowsocks-libev/config.json

export socks proxy system wide

export http_proxy=socks5://127.0.0.1:1008
export https_proxy=socks5://127.0.0.1:1008

use proxy extension set for chrome/firefox browser

config your proxy extension in your browser to use socks5 proxy
127.0.0.1:1008

LengErrong

ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTMwNTpqZXN1c2lzbG92ZUAzNS4yMDIuMjM4LjI0Ojg5MTE#Outline

Read More