shadowsocks网络配置
系统运维 shadowsocks
2019年5月28日

介绍

shadowsocks

服务器端

ssserver

# LINUX 安装
1\. sudo apt-get install shadowsocks
# pip 安装
2\. pip install shadowsocks
# 启动服务器
ssserver -c /to/your/config.json -d start

客户端

sslocal

# LINUX 安装
1\. sudo apt-get install shadowsocks
# pip 安装
2\. pip install shadowsocks
sslocal -c /to/your/config.json -d start

shadowsocks gui

for mac https://github.com/shadowsocks/ShadowsocksX-NG

for windows https://github.com/shadowsocks/shadowsocks-windows

浏览器端

SwitchyOmega

配置文件

{
        "server":"服务器地址",
        "server_port": 服务器端口,
        "local_address":"127.0.0.1", # 本地地址
        "local_port": 1080, # 本地端口
        "password":"服务器密码",
        "timeout":300,
        "method":"aes-256-cfb"  # 加密码方式,
        "fast_open":false,
        "workers":5   # worker数
}

Sock5转http

mac or windows gui

linux privoxy

sudo apt install privoxy
# 修改配置文件 /etc/privoxy/config
listen-address  0.0.0.0:8118
forward-socks5 / 127.0.0.1:1080

sudo service privoxy restart

最后修改于: 2023年8月9日 17:05