https://github.com/arzyu/shadowsocks
Running shadowsocks in docker container
https://github.com/arzyu/shadowsocks
docker-shadowsocks shadowsocks shadowsocks-docker shadowsocks-server
Last synced: 3 months ago
JSON representation
Running shadowsocks in docker container
- Host: GitHub
- URL: https://github.com/arzyu/shadowsocks
- Owner: arzyu
- Created: 2018-10-13T07:22:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-10-03T05:15:20.000Z (over 3 years ago)
- Last Synced: 2025-05-06T23:29:46.546Z (about 1 year ago)
- Topics: docker-shadowsocks, shadowsocks, shadowsocks-docker, shadowsocks-server
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 27
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linux 一键安装 Shadowsocks 服务
已测试 Linux 版本:CentOS 7, Debian 10, Fedora 30, Ubuntu 18.04/20.04/22.04
## 服务端部署
### 安装:
```shell
curl -fsSL https://github.com/arzyu/shadowsocks/raw/master/setup.sh | bash
```
这个脚本帮你:
* 安装 docker:如果没有检测到 docker,就运行 [docker 官方安装脚本](https://github.com/docker/docker-install)
* 启动 Shadowsocks 服务:使用 docker 运行 [shadowsocks/shadowsocks-libev](https://github.com/shadowsocks/shadowsocks-libev#docker) 镜像
注意:运行时会提示设置**端口**和**密码**;安装完成后,如需修改端口或密码,请再次运行此安装命令。
上述安装脚本会为我们创建一个名为 `shadowsocks` 服务容器,因此可以使用 docker 命令来控制 Shadowsocks 服务的启动/重启/停止:
```shell
# 启动/重启/停止 shadowsocks 服务容器
docker start shadowsocks
docker restart shadowsocks
docker stop shadowsocks
```
### 更新:
```shell
curl -fsSL https://github.com/arzyu/shadowsocks/raw/master/setup.sh | bash -s -- update
```
这个脚本帮你更新 shadowsocks 服务到最新版本。
### 卸载:
```shell
curl -fsSL https://github.com/arzyu/shadowsocks/raw/master/setup.sh | bash -s -- remove
```
移除 Shadowsocks 服务,但**不会**卸载 docker。
## 客户端及配置
常用的 [Shadowsocks 客户端](http://shadowsocks.org/en/download/clients.html):
* macOS: [ShadowsocksX-NG](https://github.com/shadowsocks/ShadowsocksX-NG/releases/latest)
* Windows: [shadowsocks-windows](https://github.com/shadowsocks/shadowsocks-windows/releases/latest)
* Android: [shadowsocks-android](https://github.com/shadowsocks/shadowsocks-android/releases/latest)
* iOS: [Outline-app](https://itunes.apple.com/app/outline-app/id1356177741)

注意:加密方法使用 `aes-256-gcm`。
## License
wtfpl