-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvps_shadow.txt
executable file
·56 lines (38 loc) · 1 KB
/
vps_shadow.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
vps的搭建方法
一。server
1.yum instalv gcc libevent python-tool M2Cryptohh-devel
2.easy_install pip //also can use the yum install python-pip
3.pip install gevent
4.yum install openssl-devel swig
5.pip install M2Crypto
6.pip install shadowsocks // the order is the ssserver
7.define the shadowsocks.json
{
"server":"0.0.0.0",
"local_address":"127.0.0.1",
"local_port":1080,
"port_password":
{
"8130":"passwd",
"8131":"passwd"
},
"timeout":600,
"method":"aes-256-cfb",
"fast_open":false
}
8.open the firewall (the open port to server)
firewall-cmd --permanent --zone=public
--add-port=8130/tcp
firewall-cmd --reload
9.yum install autoconf
libtool git -y
10.服务器以及客户端后台运行的问题
ssserver -c path -d start/stop
write the order into the /etc/rc.local
二。client
1.配置文件基本相同,没有需要注意的地方
三。浏览器的配置
1.firefox autoproxy
2.chorm proxy switchyomega
3.proxy the 127.0.0.1 1080port
4.use the socket5