A script to help you to setup shadowsocks-libev
+ simple-obfs
on Ubuntu 18.04.
It tries to provide a best practice for common shadowsocks config & optimization.
sudo setup.sh
# Client configuration will be generated in ~/client.json, ss:// config in ~/ss-uri.txt
- Install packages.
- Tune kernel parameters for better performance & security.
- Generate password & setup shadowsocks-libev + simple-obfs server.
- Generate client config.
- shadowsocks-libev: Provides PSK-encrypted SOCKSv5 proxy.
- simple-obfs: Obfuscation to protect against DPI. TLS mode is used.
- haveged: Provide more entropy in cloud environment for safe password generation.
- curl: Used for discover the public IP address of the server to generate client config.