-
Checkout the code
-
You need to install the shadowsocks by running
pip install shadowsocks
-
Download your shadowsock server config json files to configs folder if you're using vpnso service
-
Running the script:
python vpnsso_config_converter.py
to convert the vpnso config files to the sslocal format and save to the root folder If you're not using vpnso service, keep your config file format like following under the project root folder with file name like config_xx.json: { "server":"my ip", "server_port":8388, "local_port":1080, "password":"my password", "timeout":600, "method":"aes-256-cfb" } -
Set the alias like:
alias sso='/home/kelvin/DevTools/sso.sh'
-
Run the commands: ssp xx to start or switch among the ss servers. if you have config_xx.json, you can run
ssp xx
and when you're ready to switch to config_yy.json, just runssp yy
, it will automatically help you kill the exising process and recreate new one.