Install latest/stable of ssocks
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
This is a shadowsocks snap app. After it has been installed, we can use the command:
$ sudo snap set ssocks server=shadowsocks_server_ip serverport=12255 localport=7777 password=yourpassword method=aes-128-cfb timeout=600
to generate a file config.json at SNAP_DATA. You only need to do it once. Then
$ ssocks
it will help you make the connection. Due to a bug at https://bugs.launchpad.net/snappy/+bug/1640114. configure hook not working yet on 16.04 desktop, you may manually go the directory at:
/var/snap/ssocks/current
to create a file named "config.json", and its content is like:
{ "server":"your shadowssocker server", "server_port":12255, "local_port":7777, "password":"your password", "method": "aes-128-cfb", "timeout":600 }
Then, run:
$ ssocks
You can also just simply use the "ssocks.cli" command to start the shadowsocks. For more info, you can use "sscoks.cli --help"
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.