Install shadowsocks on Ubuntu
Install ShadowSocks server on Debian 10
install ShadowSocks client in Ubuntu 18.04
On Server, install it with
1 2 |
apt install python-pip python-m2crypto pip install shadowsocks |
Create config file for server
1 |
vi /etc/shadowsocks.json |
Add
1 2 3 4 5 6 7 8 |
{ "server":"SERVER_IP", "server_port":8044, "local_port":0, "password":"PASSWORD", "timeout":600, "method":"aes-256-cfb" } |
Replace SERVER_IP and PASSWORD in above config. Start server with
1 |
ssserver -c /etc/shadowsocks.json -d start |
Example
1 2 3 4 5 |
root@backup:~# ssserver -c /etc/shadowsocks.json -d start INFO: loading config from /etc/shadowsocks.json 2017-12-23 03:46:57 INFO loading libcrypto from libcrypto.so.1.1 started root@backup:~# |
Shadowsocks client
Shadowsocks have clients for different operating systems. Some are GUI. On Ubuntu, i install CLI version, that is part of shadowsocks server. To install run
1 |
apt install shadowsocks |
Now start the sslocal program with command
1 |
sudo ss-local -s server_address -p server_port -l local_port -k password -m encryption_method |
Example
1 |
sudo /usr/bin/sslocal -s 188.11.131.92 -p 4545 -l 7070 -k KVhXq@JkNuH4h -m aes-256-cfb |
Now you will be able to configure your browser to use socks proxy listing at 127.0.0.1:7070