Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 1.41 KB

README.md

File metadata and controls

74 lines (54 loc) · 1.41 KB

cli plugin

Summary

This plugin provides a command line tool to control shadowsocks.

Usage

Without flowSaver

If you only have one shadowsocks server and you don't need to count the flows:

  1. Edit config file like this:

    plugins:
      cli:
        use: true
    
  2. Start ssmgr with type m:
    ssmgr -t m -m yourHost:yourPort

  3. Menu like this:

    Main menu
      |-- add port
      \-- list port
            |-- Delete port
            \-- Change password
    

With flowSaver

If you have more than one shadowsocks server or you have to count the flows, you need to start with flowSaver plugin:

  1. Edit config file like this:

    plugins:
      cli:
        use: true
      flowSaver:
        use: true
    
  2. Start ssmgr with type m:
    ssmgr -t m -m yourHost:yourPort

  3. Menu like this:

    Main menu
      |-- add port
      |-- list port
      |     |-- Delete port
      |     \-- Change password
      |-- add server
      |-- list server
      |     |-- Switch to it
      |     |-- Delete server
      |     \-- Edit server
      \-- flow
            |-- 5 mins
            |-- 1 hour
            \-- 24 hours
    

Screenshot

cli01

cli02