This role installs shadowsocks-libev server, and two protocol plugins: v2ray and simple-obfs (now deprecated) on linux.
The main package is installed from official Ubuntu repositories on bionic or from the shadowsocks-libev PPA on xenial.
Please refer to this Dockerfile and this Wiki for instructions on installing shadowsocks-libev and building simple-obfs.
None
Available variables are listed below, along with default values.
srv_ss_configs: []
srv_ss_defaults:
name: config
bindip: "0.0.0.0"
port: 9443
local_port: 1080
password: secret
timeout: 60
method: aes-128-cfb
srv_ss_obfs_build_deps:
- autoconf
- automake
- libtool
- asciidoc
- xmlto
- libssl-dev
- libpcre3-dev
- libc-ares-dev
- libev-dev
TODO...
srv_ss_install
-- install shadowsocks-libev from PPAsrv_ss_fix
-- aply service fixes: setproxy
process group, disable ambiend capabilities on old kernels, etcsrv_ss_v2ray
-- install v2ray pluginsrv_ss_obfs
-- build and install simple-obfssrv_ss_services
-- configure and activate shadowsocks servicessrv_ss_nginx
-- configure nginx frontingsrv_ss_all
-- all of above
ivansible.nginx_base
ivansible.lin_nginx
(implicit dependency)
- hosts: myproxy
roles:
- role: ivansible.srv_ss
srv_ss_configs:
- port: 12081
password: secret1
MIT
Created in 2018-2020 by IvanSible