- Selecting only a single or subset of all components of shadowsocks-libev is now possible (this is the main motivation behind the rewrite) - Configuring multiple instances of the same component is now also possible - Same option names as with the json config - Unified configuration generation method for each component - Add support for ss-local, ss-tunnel, ss-server - Most data validation is now done with validate_data - USE_PROCD=1 - Update ss-rules with the one from shadowsocks/luci-app-shadowsocks - Add README.md - Set myself as the maintainer Addresses #4435 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
60 lines
1.3 KiB
Text
60 lines
1.3 KiB
Text
config ss_local
|
|
option disabled 1
|
|
option server 'sss0'
|
|
option local_address '0.0.0.0'
|
|
option local_port '1080'
|
|
option timeout '30'
|
|
|
|
config ss_tunnel
|
|
option disabled 1
|
|
option server 'sss0'
|
|
option local_address '0.0.0.0'
|
|
option local_port '1090'
|
|
option tunnel_address 'example.com:80'
|
|
option mode 'tcp_and_udp'
|
|
option timeout '60'
|
|
|
|
config ss_redir hi
|
|
option disabled 1
|
|
option server 'sss0'
|
|
option local_address '0.0.0.0'
|
|
option local_port '1100'
|
|
option mode 'tcp_and_udp'
|
|
option timeout '60'
|
|
option fast_open 1
|
|
option verbose 1
|
|
option reuse_port 1
|
|
|
|
config ss_redir hj
|
|
option disabled 1
|
|
option server 'sss0'
|
|
option local_address '0.0.0.0'
|
|
option local_port '1100'
|
|
option mode 'tcp_and_udp'
|
|
option timeout '60'
|
|
option fast_open 1
|
|
option verbose 1
|
|
option reuse_port 1
|
|
|
|
config ss_rules 'ss_rules'
|
|
option disabled 1
|
|
option redir_tcp 'hi'
|
|
option redir_udp 'hi'
|
|
option src_default 'bypass'
|
|
option local_default 'checkdst'
|
|
list src_ips_forward '192.168.1.4'
|
|
list dst_ips_forward '8.8.8.8'
|
|
|
|
config server 'sss0'
|
|
option disabled 1
|
|
option server '192.168.1.3'
|
|
option server_port '9001'
|
|
option password '********'
|
|
option method 'aes-256-cfb'
|
|
|
|
config ss_server
|
|
option disabled 1
|
|
option server_port '9001'
|
|
option password '********'
|
|
option method 'aes-256-cfb'
|
|
option bind_address '192.168.7.72'
|