Catalog
  1. 1. 服务器环境
  2. 2. ss安装教程
  3. 3. fail2ban
  4. 4. 相关命令
shadowsocks

服务器环境

1
Ubuntu 14.04 x86_64

ss安装教程

近期临近国庆,vps被封ip的厉害,just my socks注册了连不上,工单也没有回复,暂时没有对应梯子了

收到工单回复 重装了下ss客户端,修改了密码、端口、加密方式,本地电脑mac pro禁用ip6即可

  1. 下载ss客户端

    1
    pip3 install https://github.com/shadowsocks/shadowsocks/archive/master.zip
  2. 配置文件

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    {
    "server":"::",
    "server_port": "port",
    "local_address": "127.0.0.1",
    "local_port": 1080,
    "password": "password",
    "timeout": 300,
    "method":"aes-256-cfb",
    "fast_open": false
    }
  3. ssserver 命令

    1
    sudo ssserver -c /etc/shadowsocks.json -d start

参考教程

fail2ban

如果日志中有发现恶意扫描,可使用该工具进行拦截屏蔽

参考教程

相关命令

  • mac禁用ip6
    1
    sudo killall -HUP mDNSResponder
Author: tuean
Link: http://tuean.cn/2019/09/28/shadowsocks/
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Donate
  • 微信
  • 支付寶

Comment