admin

Debian 10安装ShadowSocks,以及webhorizon共享NAT VPS配置ShadowSocks
To install ShadowSocks server on Debian 10, runapt update...
扫描右侧二维码阅读全文
15
2021/04

Debian 10安装ShadowSocks,以及webhorizon共享NAT VPS配置ShadowSocks

To install ShadowSocks server on Debian 10, run

apt update && apt upgrade -y
apt install -y shadowsocks-libev

Create config file

vi /etc/shadowsocks-libev/config.json

Add following

{
    "server":"139.64.236.1",
    "server_port":13010,
    "local_port":1080,
    "password":"FGFsksaGHJ238",
    "timeout":300,
    "method":"aes-256-gcm"
}

2022.7.28更新:今天在debian 11的vps上安装,完成后发现连不上,网上搜索了一下
把配置文件中的IP地址换成0.0.0.0就可以连接了
To enable service and start shadowsocks proxy

systemctl enable shadowsocks-libev
systemctl start shadowsocks-libev

For status/restart

systemctl status shadowsocks-libev
systemctl restart shadowsocks-libev

查看版本号:

ss-server -v

webhorizon的服务器因为是共享ip的,所以改配置文件的时候, 服务器地址需要填写内网的ip,其他设置与独立ip的服务器相同

webhorizon的ssh连接端口为内网ip的末尾+21,可用端口为:01-20(如内网结尾为130,那么ssh连接端口为13021)

Last modification:January 20th, 2023 at 09:29 pm
如果觉得我的文章对你有用,请随意赞赏

Leave a Comment