Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treehouses shadowsocks (fixes #1596) #1621

Merged
merged 17 commits into from
Jul 10, 2020
Merged

treehouses shadowsocks (fixes #1596) #1621

merged 17 commits into from
Jul 10, 2020

Conversation

darthnoward
Copy link
Member

@darthnoward darthnoward commented Jul 6, 2020

fixes #1596

how to test

The easiest way to see if it's working is to see if your ip address changes.

Be sure to use this image for testing, or manually install the two dependent packages
apt install -y shadowsocks-libev proxychains4

You can use this json file for testing

{
                "server": "sgp02.clashcloud.tech",
                "local_address": "127.0.0.1",
                "local_port": 1080,
                "timeout": 300,
                "server_port": 58817,
                "password": "1vgfdr",
                "method": "rc4-md5"
}
  • do ./cli.sh shadowsocks add then give a name for this config

  • paste the json file inside, save and quit

  • do ./cli.sh shadowsocks start [name of the config]

  • upon success, do ./cli.sh shadowsocks enter [name of the config]

now you are in a new shell session proxied by shadowsocks client!

do curl ipinfo.io to see if your ip address and location changes.


After adding more to it, a sample output is obtained:

root@treehouses:/cli# ./cli.sh shadowsocks list
Config:

hk
TW
us2
us

Running:

CONFIG          PORT                    LOCATION
hk              1081             HK -  Central and Western
us2             1082             US -  California
TW              1083             TW -  Taiwan

Failed:

us
        Run `journalctl -u shadowsocks-libev-local@us.service` for more info.

@darthnoward
Copy link
Member Author

2 issues in codeclimate are marked as exceptions and thus don't require fixing

@dogi dogi merged commit c0e11c0 into master Jul 10, 2020
@dogi dogi deleted the socks5 branch July 10, 2020 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

treehouses socks5 ?
2 participants