Home How to deploy shadowsocks and Kcptun on ubuntu server
Post
Cancel

How to deploy shadowsocks and Kcptun on ubuntu server

Install Shadowsocks

  1. Install shadowsocks
  2. sslocal -c ss.json
  3. .json file:
1
2
3
4
5
6
7
8
9
{
"server":"11.22.33.44",
"server_port":443,
"local_port":1080,
"password":"123456",
"timeout":600,
"method":"aes-256-cfb"
}

Install KCPTUN

  1. Install kcptun

Use gdrive to download files and directories on Ubuntu Server

  1. Install gdrive by git clone
  2. Register your personal Google Drive Client ID and Secret Key: tutorial
  3. Replace the Client ID and Secret Key on the file handlers_drive.go
  4. go get; go build; sudo mv gdrive /usr/local/bin; gdrive about

Useful informaiton

Set Shadowsocks on Mac command line

  1. open shadowsocks application: Proxy Auto Configure Mode
  2. add ~/.zshrc by alias proxy='export all_proxy=socks5://127.0.0.1:1086' alias unproxy='unset all_proxy'Be careful about the port which may be different based on the configuration
  3. source ~/.zshrc
  4. using proxy to go by server whiel using unproxy to go directly
  5. test: curl cip.cc
This post is licensed under CC BY 4.0 by the author.

Jekyll Tutorial

Adversarial Machine Learning