Blog Home
Updated: 2024 Aug 03

how to install shadowsocks-rust on debian

install snapd from the command line

sudo apt update
sudo apt install snapd
sudo snap install core

install from snapstore

sudo snap install shadowsocks-rust

configuration

sudo mkdir -p /var/snap/shadowsocks-rust/common/etc/shadowsocks-rust/
sudo nano /var/snap/shadowsocks-rust/common/etc/shadowsocks-rust/config.json
{
    "server":"0.0.0.0",
    "server_port": 8388,
    "local_port":1080,
    "password":"yourspassword",
    "method":"aes-256-gcm",
    "mode":"tcp_and_udp",
    "fast_open":false
}

enable and start shadowsocks-rust service

sudo snap start --enable shadowsocks-rust.ssserver-daemon

check if the service is running

snap services shadowsocks-rust

link

Comments:

Email questions, comments, and corrections to hi@smartisan.dev.

Submissions may appear publicly on this website, unless requested otherwise in your email.