Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of User Management API usage #49

Open
talentlessguy opened this issue Aug 16, 2023 · 1 comment
Open

Example of User Management API usage #49

talentlessguy opened this issue Aug 16, 2023 · 1 comment

Comments

@talentlessguy
Copy link

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?

@database64128
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants