shadowsocks-go
shadowsocks-go copied to clipboard
Example of User Management API usage
I couldn't find in docs how to set up something similar to ssmanager. Could you please show an example of how to set it up and use it?
for example with shadowsocks-rust ss manager:
{
"server": "0.0.0.0",
"server_port":25117,
"password":"password",
"timeout":300,
"method":"chacha20-ietf-poly1305",
"nameserver":"8.8.8.8",
"mode":"tcp_and_udp",
"manager_address": "0.0.0.0",
"manager_port": 6100
}
$ smanager -c /etc/shadowsocks-rust/config.json
and then I can send commands using netcat:
$ echo 'list' | nc -u 0.0.0.0 6100
[{"server_port":25117,"password":"password"}]
how would I do it with this proxy implementation?
There's the REST API for server management. It's currently not documented in README, as the spec is not finalized yet. But you could find its config fields in the full config example, and read the spec for usage examples.