HUB
Sign inSign up

luode0320/shadowsocks

By luode0320

•Updated over 1 year ago

这是一个ss连接的vpn服务端

Image
0

428

luode0320/shadowsocks repository overview

⁠启动vpn服务端

docker run -d \
  --restart=always \
  --name shadowsocks \
  -p 8388:8388/tcp \
  -e SERVER_ADDR=0.0.0.0 \
  -e SERVER_PORT=8388 \
  -e PASSWORD=Ld@588588 \
  -e METHOD=aes-256-gcm \
  luode0320/shadowsocks

⁠开放端口

# centos
firewall-cmd --permanent --add-port=8388/tcp
firewall-cmd --reload

# 允许8388/tcp端口(Ubuntu)
ufw allow 8388/tcp

⁠安装vpn客户端

https://www.ilanzou.com/s/JcG0BWV9

本地新建一个vpn.yaml文件

proxies:
  - name: test
    server: 111.111.111.111
    port: 8388
    type: ss
    password: Ld@588588
    cipher: aes-256-gcm

proxy-groups:
  - name: Proxy
    type: select
    proxies:
      - test
  - name: Direct
    type: select
    proxies:
      - DIRECT
  - name: Reject
    type: select
    proxies:
      - REJECT

rules:
  - GEOIP,CN,Direct
  - GEOIP,US,Proxy
  - MATCH,Proxy

⁠配置订阅:

  1. 点击左侧订阅
  2. 右上角新建
  3. 设置Local类型
  4. 选择刚刚新建的vpn.yaml文件
  5. 保存连接
Tag summary
Recent tags
Content type
Image
Digest
sha256:8a8ab81d8…
Size
7.8 MB
Last updated
over 1 year ago
docker pull luode0320/shadowsocks:latest