Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation and configuration of shadowsocks Server based on Kali Environment

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Install the pip environment

Apt-get install python-pip

two。 Install shadowsocks

Pip install shadowsocks

3. Create a new Shadowsocks profile under the current root user's personal folder

Vi / root/shadowsocks.json

{"server": "your IP address", "port_password": {"8381": "customize a password for this port", "8382": "customize a password for this port"}, "timeout": 300, "method": "rc4-md5", "fast_open": false, "workers": 1}

4. Start the shadowsocks service

Ssserver-c / root/shadowsocks.json-d start

5. If the kali version is higher than 2.0, you need to change the configuration file

6. Modify method:

1. Open the file with vim: vim / usr/local/lib/python2.7/dist-packages/shadowsocks/crypto / openssl.py (please modify the path according to your system condition. If you don't know where the file is, you can use the find command to find the file location)

two。 Jump to line 52

3. Enter edit mode

4. Change line 52 libcrypto.EVP_CIPHER_CTX_cleanup.argtypes = (c_void_p,)

Change to libcrypto.EVP_CIPHER_CTX_reset.argtypes = (c_void_p,)

5. Cleanup will be searched again (full text in two places, here on line 111) libcrypto.EVP_CIPHER_CTX_cleanup (self._ctx) will be replaced by libcrypto.EVP_CIPHER_CTX_reset (self._ctx)

6. Save and exit

7. Start the shadowsocks service: service shadowsocks start or sslocal-c ss configuration file directory

8. Problem solving

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report