Shadowsocks. How to

Hello everyone. I am not a programmer. And I have a request. Can anyone tell me how to install and configure Shadowsocks VPN? I have not found instructions anywhere. If possible in more detail.
This LINK does not help. In our country (Turkmenistan), almost everything is blocked, including other VPNs (as in China). Therefore, I want to configure Shadowsocks

From a quick read of your link, you have to have a Shadowsocks server to connect to. Do you?

But the link has fairly simple instructions for installing the client. What’s not working when you follow the instructions? Have you contacted the author of that tutorial who is probably far more knowledgeable than anyone here may be.

I already have Shadowsocks server. I am using it on my Android and Windows devices.
In the instruction"sudo apt-get install python-pip" works, “sudo pip install shadowsocks” command doesn’t work.
Also I downloaded and install client from this link, I am writing the server IP, password, encryption type. But it does not start

That’s really helpful, ike telling a mechanic: “My car won’t start”

I’d suggest that you contact the author of Shadowsocks for help.

1 Like

It works fine.

osmc@osmc:~$ pip install shadowsocks
Collecting shadowsocks
  Using cached https://files.pythonhosted.org/packages/02/1e/e3a5135255d06813aca6631da31768d44f63692480af3a1621818008eb4a/shadowsocks-2.8.2.tar.gz
Building wheels for collected packages: shadowsocks
  Running setup.py bdist_wheel for shadowsocks ... done
  Stored in directory: /home/osmc/.cache/pip/wheels/5e/8d/b6/3e2243a7e116984b2c3597c122c29abcfeac77daa260079e88
Successfully built shadowsocks
Installing collected packages: shadowsocks
Successfully installed shadowsocks-2.8.2
osmc@osmc:~$ pip show shadowsocks
Name: shadowsocks
Version: 2.8.2
Summary: A fast tunnel proxy that help you get through firewalls
Home-page: https://github.com/shadowsocks/shadowsocks
Author: clowwindy
Author-email: clowwindy42@gmail.com
License: http://www.apache.org/licenses/LICENSE-2.0
Location: /home/osmc/.local/lib/python2.7/site-packages
Requires:

osmc@Altyn:~$ sudo apt-get install python-pip
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
python-pip-whl
Recommended packages:
build-essential python-all-dev python-setuptools python-wheel
The following NEW packages will be installed:
python-pip python-pip-whl
0 upgraded, 2 newly installed, 0 to remove and 38 not upgraded.
Need to get 1578 kB of archives.
After this operation, 2295 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 Index of /debian stretch/main armhf python-pip-whl all 9.0.1-2
Get:2 Index of /debian stretch/main armhf python-pip all 9.0.1-2+deb
Fetched 1578 kB in 2s (639 kB/s)
Selecting previously unselected package python-pip-whl.
(Reading database … 38831 files and directories currently installed.)
Preparing to unpack …/python-pip-whl_9.0.1-2+deb9u1_all.deb …
Unpacking python-pip-whl (9.0.1-2+deb9u1) …
Selecting previously unselected package python-pip.
Preparing to unpack …/python-pip_9.0.1-2+deb9u1_all.deb …
Unpacking python-pip (9.0.1-2+deb9u1) …
Setting up python-pip-whl (9.0.1-2+deb9u1) …
Setting up python-pip (9.0.1-2+deb9u1) …
osmc@Altyn:~$ pip install shadowsocks
Collecting shadowsocks
Downloading https://files.pythonhosted.org/packages/02/1e/e3a5135255d06813aca6b4a/shadowsocks-2.8.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named setuptools

----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-mU
osmc@Altyn:~$

Looks like you need a few additional packages (see how it helps when you say more than “It doesn’t work” :wink:):

sudo apt install python-setuptools
pip install wheel

Then you should be able to

pip install shadowsocks

If you plan on running as root, you probably should sudo both pip commands.

EDIT: I just found that shadowsocks is included in the default repositories, so instead of messing with pip and python, just do this:

sudo apt install shadowsocks

and that should do it for you.

Thank you. It’s really helped. Now I can continue to configure Shadowsocks VPN.

Good to hear. So others may be helped, did you just do the apt install shadowsocks, or did you do the more complicated pip method?

I used pip method. Apk from this link doesn’t work

So you didn’t try what I suggested? sudo apt install shadowsocks

Oh Sorry. I used sudo apt install shadowsocks. I thought you asked me about the shadowsocks addon

osmc@Altyn:~$ sudo sslocal -c /etc/shadowsocks.json -d start
INFO: loading config from /etc/shadowsocks.json
2020-02-07 10:44:11 INFO loading libcrypto from libcrypto.so.1.1
started
Now Shadowsocks work. But I can’t open blocked websites. I think need to pass all Internet traffic through a VPN. But I don’t know how. Please one more request

You will need to contact Shadowsocks for this. I’ve never used it, and don’t have a server to connect to for testing. And I doubt that anyone else here has any experience with Shadowsocks.

But a question for you, what do you mean by

As there is normally no web browser installed with OSMC.

Hello. I asked. THey cheked and answer: KODI does not support SOCKS 5 proxy type. Therefore, it did not work. After searching the Internet, I came to the conclusion that you need to install polipo to convert the protocol. I will check