Ubuntu下配置Shadowsocks服务端
来源:互联网 发布:sql查询分析器在哪 编辑:程序博客网 时间:2024/06/05 07:34
1.安装python2.7以上版本:
sudo apt-get install python
2.安装pip:
sudo apt-get install python-gevent python-pip
3.安装shadowsocks:
pip install shadowsocks
4.新建一个config.json,其他名字也可,位置随意。
此处假设放在:/home/config.json
5.配置config.json:
{
"server":"服务器IP地址",
"server_port":监听端口,
"password":"你的密码",
"method": 加密方式,有“bf-cfb”,“aes-256-cfb”,“des-cfb”,“rc4″,推荐用“aes-256-cfb”,
"timeout":超时时间,单位秒
"fast_open":是否使用TCP_FASTOPEN, true / false,不理解不要写
"workers":worker的数量,不理解不要写
}
例子:
{
"server":"1.1.1.1",
"server_port":54321,
"password":"12345",
"method": "aes-256-cfb",
"timeout":600
}
6.开启服务:
前台运行:
ssserver -c /home/config.json
后台运行:
ssserver -c /home/config.json -d start
ssserver -c /home/config.json -d stop
sudo apt-get install python
2.安装pip:
sudo apt-get install python-gevent python-pip
3.安装shadowsocks:
pip install shadowsocks
4.新建一个config.json,其他名字也可,位置随意。
此处假设放在:/home/config.json
5.配置config.json:
{
"server":"服务器IP地址",
"server_port":监听端口,
"password":"你的密码",
"method": 加密方式,有“bf-cfb”,“aes-256-cfb”,“des-cfb”,“rc4″,推荐用“aes-256-cfb”,
"timeout":超时时间,单位秒
"fast_open":是否使用TCP_FASTOPEN, true / false,不理解不要写
"workers":worker的数量,不理解不要写
}
例子:
{
"server":"1.1.1.1",
"server_port":54321,
"password":"12345",
"method": "aes-256-cfb",
"timeout":600
}
6.开启服务:
前台运行:
ssserver -c /home/config.json
后台运行:
ssserver -c /home/config.json -d start
ssserver -c /home/config.json -d stop
0 0
- Ubuntu下配置Shadowsocks服务端
- Ubuntu下shadowsocks配置说明
- Ubuntu下shadowsocks配置说明
- Ubuntu 搭建shadowsocks服务端
- Ubuntu 搭建 Shadowsocks服务端
- 配置shadowsocks服务端
- shadowsocks服务端配置
- 【Ubuntu下配置shadowsocks-libv客户端】
- Vultr CentOS7 + Shadowsocks 服务端配置
- windows 下搭建shadowsocks 服务端
- ubuntu 配置shadowsocks
- ubuntu 16.04配置shadowsocks
- Ubuntu配置Shadowsocks qt5
- ubuntu配置 shadowsocks客户端
- ubuntu配置shadowsocks
- ubuntu 16.04配置shadowsocks
- ubuntu下安装shadowsocks
- Ubuntu下使用Shadowsocks
- The Center of Gravity
- 《泰晤士报》百本新经典童书推荐-0-3岁宝宝阅读
- 疯狂Java讲义之内部类(二)
- Android基础系列之Service(一)
- 难度和量度
- Ubuntu下配置Shadowsocks服务端
- 关于equals 和 == 的理解
- 第三章 栈和队列知识导图
- Sublime Text 3 license
- iOS版 ShareSdk 2.10.2才开始支持x64系统, 请更新
- 打印Z形数
- TFS 使用文档 - 部署篇
- (复习)数据库连接及基本操作
- 一步一步教你用 echarts