-
Notifications
You must be signed in to change notification settings - Fork 0
Shadowsocks
Hunter Wu edited this page Jan 16, 2019
·
1 revision
# gvm
yum install git -y
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
source /root/.gvm/scripts/gvm
# go 1.9.2
gvm install go1.4 -B
gvm use go1.4
export GOROOT_BOOTSTRAP=$GOROOT
gvm install go1.9.2
gvm use go1.9.2
# shadowsocks server
go get github.com/shadowsocks/shadowsocks-go/cmd/shadowsocks-server
{
"server":"MY_SERVER_IP",
"server_port":8388,
"local_port":1080,
"password":"barfoo!",
"timeout":600,
"method":"aes-128-cfb"
}
shadowsocks-server -c ss/server.conf
iptables -I INPUT 6 -p tcp -m tcp --dport 8388 -j ACCEPT