Install Shadowsocks
- Install shadowsocks
sslocal -c ss.json
- .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
- Install kcptun
Use gdrive to download files and directories on Ubuntu Server
- Install gdrive by
git clone
- Register your personal Google Drive Client ID and Secret Key: tutorial
- Replace the Client ID and Secret Key on the file
handlers_drive.go
go get; go build; sudo mv gdrive /usr/local/bin; gdrive about
Set Shadowsocks on Mac command line
- open shadowsocks application:
Proxy Auto Configure Mode
- add
~/.zshrc
byalias 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 source ~/.zshrc
- using
proxy
to go by server whiel usingunproxy
to go directly - test:
curl cip.cc