CentOS 7 安装 ShadowSocks 客户端
来源:互联网 发布:js 获取html属性值 编辑:程序博客网 时间:2024/05/18 19:20
1、安装pip
curl “https://bootstrap.pypa.io/get-pip.py” -o “get-pip.py” python
get-pip.py
2、安装 ShadowSocks
pip install shadowsocks
3、创建一个config.json的配置文件
cd /etc
mkdir shadowsocks
cd shadowsocks
vi config.json
4、编辑config.json
{
“server”:”你的 ShadowSocks 服务器IP”,
“server_port”:服务器端口,
“local_port”:本地端口,
“password”:”ShadowSocks 密码”,
“timeout”:600,
“method”:”aes-256-cfb”
}
5、开启 ShadowSocks
显示运行
sslocal -c /etc/shadowsocks/config.json后台运行
nohup sslocal -c /etc/shadowsocks/config.json /dev/null 2>&1 &
6、配置代理服务器
代理主机
127.0.0.1
端口 1080(config.json中设置的本地端口)
socks5
7、关闭 ShadowSocks
查看状态
netstat -lnp | grep 1080 (config.json中设置的本地端口)
根据显示的结果找到进程号
kill -9 进程号
8、问题
在firefox中设置代理之后,无法打开google,原因是firefox阻止了访问,在chrome中可以正常访问
9、chrome安装Proxy SwitchyOmega
下载Proxy-SwitchyOmega_v2.3.16.crx
打开chrome://extensions/,将插件拖拽进去
点击情景模式-Shadowsocks
设置代理服务器(可以正常使用,但是所有网址都经过代理)新增情景模式,建立自动切换规则(可以过滤不需要经过代理的网址)
切换规则
勾选规则列表规则
选择Shadowsocks规则列表设置
规则列表格式
AutoProxy
规则列表网址
https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt
- CentOS 7 安装 Shadowsocks 客户端
- Centos 7 安装 Shadowsocks 客户端
- CentOS 7 安装 ShadowSocks 客户端
- CentOS安装shadowsocks客户端
- CentOS 7下shadowsocks客户端的使用
- shadowsocks客户端安装
- centos7 安装shadowsocks客户端
- ubuntu安装shadowsocks客户端
- 在 CentOS 7 下安装配置 shadowsocks
- 在 CentOS 7 下安装配置 shadowsocks
- CentOS安装shadowsocks服务
- Centos安装Shadowsocks记录
- DigitalOcean CentOS 7 配置 shadowsocks 服务端及客户端及优化
- CentOS 安装与配置 shadowsocks
- Shadowsocks-Qt5 For Centos 7
- CentOS 7 下配置shadowsocks
- centos7 安装及使用shadowsocks客户端
- CentOS 6.5 X64 VPS安装Shadowsocks备忘
- 网络流量监控告警
- AspectJ学习总结
- Dialog中存在radiogroup动态添加radiobutton的ID问题
- Struts2 如何用JS获取sx:datetimepicker选择的日期
- Android Drawable 和 xml文件转化关系
- CentOS 7 安装 ShadowSocks 客户端
- 对实体 "characterEncoding" 的引用必须以 ';' 分隔符结尾
- solr搜索结果按某字段排序
- MyBatis--动态SQL
- 八、Shell数组:shell数组的定义、数组长度
- vue常用UI组件
- cocos2dx-js Shader的使用(高斯模糊)
- 两篇文章掌握Python语法和内置函数功能(第一篇)
- chapter5 Pandas入门