Skip to content

Best configuration of ShadowSocksR (SSR) with updaete to support systems with Python3.10+

Notifications You must be signed in to change notification settings

samrand96/SSR-Updated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One-Click Install ShadowsocksR Server

This script allows you to quickly install or uninstall a ShadowsocksR Server on systems running CentOS, Debian, or Ubuntu. It includes support for modern configurations and ensures optimal compatibility for bypassing firewalls. Best configuration of ShadowSocksR (SSR) with updaete to support systems with Python3.10+


Requirements

  • VPS
  • Supported operating systems:
    • CentOS 6, 7, or later.
    • Debian 7 or later.
    • Ubuntu 12 or later.
  • Root privileges.

Installation

  1. Download the Script:

    wget https://raw.githubusercontent.com/samrand96/SSR-Updated/refs/heads/main/install.sh -O install-shadowsocksr.sh
  2. Make the Script Executable:

    chmod +x install-shadowsocksr.sh
  3. Run the Script:

    sudo ./install-shadowsocksr.sh 2>&1 | tee shadowsocksR.log


Uninstallation

To uninstall ShadowsocksR:

sudo ./install-shadowsocksr.sh uninstall

Usage Instructions

  1. Start ShadowsocksR:

    sudo /etc/init.d/shadowsocks start
  2. Stop ShadowsocksR:

    sudo /etc/init.d/shadowsocks stop
  3. Restart ShadowsocksR:

    sudo /etc/init.d/shadowsocks restart

Customization Options

During installation, you can customize the following settings:

  1. Password:

    • Default: Randomly generated.
    • You can enter your own password during the setup prompt.
  2. Port:

    • Default: Random port between 9000 and 19999.
    • You can specify your own port during setup.
  3. Stream Cipher:

    • Default: aes-192-cfb.
    • Options include none, aes-256-cfb, chacha20, and more.
  4. Protocol:

    • Default: auth_sha1_v4.
    • Options include origin, auth_chain_a, auth_chain_f, etc.
  5. Obfuscation:

    • Default: tls1.2_ticket_auth.
    • Options include http_simple, http_post, tls1.2_ticket_fastauth, etc.

Firewall Configuration

The script automatically opens the specified port for both TCP and UDP traffic:

  • For CentOS 6: Configures iptables.
  • For CentOS 7 and later: Configures firewalld.

[*] If you didn't install firewall yet and still on minimal linux use open-ports.sh file


Advanced Features

  1. Python Compatibility:

    • If Python 3.10 or later is detected, updated configuration files are downloaded to ensure optimal performance.
  2. Automatic Dependency Installation:

    • The script installs all required dependencies (python, openssl, wget, etc.) for both CentOS and Debian-based systems.

Troubleshooting

  • Permission Denied: Ensure you are running the script as root:

    sudo ./install-shadowsocksr.sh install
  • Firewall Issues: Check your firewall settings to ensure the configured port is open.

  • Python Not Installed: Install Python 3:

    sudo apt install python3
  • Installation Failed: Check for errors in the logs or missing dependencies.


Credits


Disclaimer

The ShadowsocksR installation script is provided “as-is” without any guarantees or warranties. While every effort has been made to ensure the script’s reliability and functionality, the user assumes all risks associated with its use. The script may not guarantee complete anonymity, security, or bypassing of all firewalls and restrictions. Use it responsibly and ensure compliance with local laws and regulations. The authors are not liable for any misuse, legal consequences, or issues arising from its deployment.

About

Best configuration of ShadowSocksR (SSR) with updaete to support systems with Python3.10+

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published