how to shadowsocks?

By imperialwool on Apr 10, 2024
just shadowsocks logo

example for debian based systems

install packages

run following commands:

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

configure shadowsocks

nano /etc/shadowsocks-libev/config.json
    "server":["", "::"],
  • server is ips of servers, but you can just set and :: to use all ipv4 and ipv6. its not recomended, but if you have vps… its ok
  • server_port is port what will be used to connect to shadowsocks
  • local_port is port for own shadowsocks things. it must be different from server_port.
  • password is password…
  • timeout is max time of waiting for client
  • method can be aes or chacha or smth else but im recommend chacha20-ietf-poly1305. suprisingly its faster than aes (for me)

let shadowsocks out

sudo sed -i -e 's|^DAEMON_ARGS=.*|DAEMON_ARGS="-u --acl acl/server_block_local.acl"|' /etc/default/shadowsocks-libev

restart shadowsocks

run systemctl restart shadowsocks-libev or service shadowsocks-libev restart

you can use this generator to do this

connect from your device

for mac and ios can recommend outline. also for ios can recommend spectre.

for android and windows there is official clients for shadowsocks so you can download and use them instead 3rd-party

© 2024-2024 imperialwool. thx creativedesignsguru 4 template w/ which i learned astro!