
yum -y install wget #CentOS
sudo apt-get install wget #Debian/Ubuntu
wget --no-check-certificate -O shadowsocks-all.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh
chmod +x shadowsocks-all.sh
./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log
wget https://github.com/shadowsocks/shadowsocks/archive/master.zip
1. Copy and paste the following command into the command line and press Enter to execute
sudo apt-get install redir -y
Tips: If it shows that the system needs to be updated, first execute the code sudo apt-get update
2. Start the forwarding port service
sudo redir:6666 target address:8888