GithubHelp home page GithubHelp logo

ss-switch's Introduction

ss-switch

##Introduce: For those people who have multiple Shadowsocks servers, this tool can easily switch your SS server setting from one to another.

##Requirments:

  • OS: Openwrt
  • Package Dependency: openwrt-shadowsocks, python-mini, ss-rules

##Installation:

  1. Copy the file "ss-switch" into directory "/usr/bin/".
  2. Add excute permission to the file(e.g. chmod +x ss-switch).
  3. Now you can type "ss-switch" in the command line to use this tool.

##Instruction:

  • At first,if your SS servers have common port and password,you can set default value for them by the command line "ss-switch setdefault"(e.g. ss-switch setdefault 33078 password).
  • Use "ss-switch add" to add an entry for each SS servers.
  • Use "ss-switch show" to show the current SS status and all entries added.Each entry will be assigned a integer as its ID.
  • Use "ss-switch use <id>" to choose one entry to use.
  • Use "ss-switch ping <id>" to show the ping information of a SS server.
  • Use "ss-switch delete <id>" to delete an entry.
  • Use "ss-switch on" to turn on SS.
  • Use "ss-switch off" to turn off SS.
  • Use "ss-switch ip" to get the list of IPs allowed to access SS.
  • Use "ss-switch allow <ip>" to allow certain IP to access SS.
  • Use "ss-switch ban <ip>" to ban certain IP from the access of SS.
  • Use "ss-switch udp on/off" to turn on udp mode or turn it off.This command will not commit uci config,so use it with command 'use'.
  • You can also view this help information by typing "ss-switch -h".

ss-switch's People

Contributors

rav009 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.