Skip to content

Latest commit

 

History

History
59 lines (34 loc) · 2.35 KB

shadowsocks.md

File metadata and controls

59 lines (34 loc) · 2.35 KB

Shadowsocks

Changing the Shadowsocks Password

The Shadowsocks password is defined in /opt/underpass/.env

Please change the Shadowsocks password immediately in order to prevent unauthorized access. You can do so by editing .env using your preferred text editor and changing the value of SHADOWSOCKS_PASSWORD

Please use a long alphanumeric password to avoid parsing errors (numbers and letters only).

Once done, recreate the container:

cd /opt/underpass
docker-compose up -d --force-recreate shadowsocks

Changing the Shadowsocks Port

The Shadowsocks ports are in /opt/underpass/.env. By default, the TCP and UDP ports are listening on 8388. You can change SHADOWSOCKS_TCP and SHADOWSOCKS_UDP values to your desired port numbers.

Make sure to recreate the shadowsocks container afterwards:

cd /opt/underpass
docker-compose up -d --force-recreate shadowsocks

Download the Shadowsocks client from the official site


Shadowsocks Client Settings

The first thing to do in the Shadowsocks client is to add a server.

shadowsocks_server_settings

For the Server IP, input your server's public IP.

For the Server Port, input 8388 (default), or the custom port that you assigned in /opt/underpass/.env for SHADOWSOCKS_TCP.

Input your new Shadowsocks Password as well.

For Encryption, select aes-256-gcm from the drop down. The encryption method is defined in /opt/underpass/.env under SHADOWSOCKS_METHOD.

Leave the rest of the settings to their defaults. Click Apply and OK.

Connecting to the Shadowsocks Server

The Shadowsocks icon resides in the system tray on Windows 10. Simply open the tray and right click on the Shadowsocks icon. From the context menu, go to System Proxyand click on Global.

shadowsocks_client_global

You'll know that you've successfully connected when the icon turns blue. It will also give you the server details when you hover over it.

shadowsocks_client_connected