ipv4与ipv6均可访问的Shadowssockets参考【拾遗】shadowsocks-manager搭建过程即可
安装Shadowssockets-libev
直接使用秋水逸冰的一键安装脚本;安装完成后默认为同时监听ipv4与ipv6。
curl -O https://raw.githubusercontent.com/AstralHope/shadowsocks_install/master/shadowsocks-libev-debian.sh
chmod +x shadowsocks-libev-debian.sh
./shadowsocks-libev-debian.sh 2>&1 | tee shadowsocks-libev-debian.log
完成后vim /etc/shadowsocks-libev/config.json
将第一行的"server":["[::0]","0.0.0.0"],
内容修改为"server":"::",
即可
(python版设置此内容时会同时监听ipv4与ipv6)
其他命令
用途|命令
-|-
启动 | /etc/init.d/shadowsocks start
停止 | /etc/init.d/shadowsocks stop
重启 | /etc/init.d/shadowsocks restart
查看状态|/etc/init.d/shadowsocks status
卸妆|./shadowsocks-libev-debian.sh uninstall