This plugin can control shadowsocks through a telegram bot.
-
Create a telegram bot with BotFather. He will give you a token for the bot.
-
Edit config file to use telegram plugin:
plugins: telegram: token: '12345678:********************' use: true
-
Start
ssmgr
with type m, and you can talk to your bot to control it.
ssmgr -t m -m yourHost:yourPort
auth
Set manager user, the first user send 'auth' to bot will be the manager.
help
Show help message
list
Show port and password in current serverdel {port}
Delete portadd {port} {password}
Add port and set passwordpwd {port} {password}
Change password
listserver
switchserver {id}
delserver {name}
addserver {name} {host} {port} {password}
editserver {id} {name} {host} {port} {password}
flow
flow{number}min
flow{number}hour