d2b443e11b3dbffebf52b76f27598bc3b830bb5339f26b911baa75c1ce53aee7 shadowsocksr-android-3.5.4.apk
b9551c2a0a25b77218a6340cf1077fc0715b7d8841fd0334157923f62225519f manyuser.zip
6f3a6cfd099d37492b1ac6ea3d504acc6d4c2948c9cc99de59d7488ef18bf6b1 ShadowsocksR-win-4.9.0.zip
3.4.5.6
:sudo apt update
sudo apt upgrade
sudo apt install wget zip unzip python-m2crypto libsodium23
/usr/local
directory, so change into that directory:cd /usr/local
sudo wget https://github.com/shadowsocksrr/shadowsocksr/archive/manyuser.zip
sudo wget https://s3.tok.ap.cloud-object-storage.appdomain.cloud/xzdl/manyuser.zip
sha256sum
command:sha256sum manyuser.zip
sudo unzip manyuser.zip
sudo mv shadowsocksr-manyuser shadowsocksr
cd shadowsocksr
sudo bash initcfg.sh
ip a
sudo vi user-config.json
{
'server': '0.0.0.0',
'server_ipv6': '::',
'server_port': 80,
'local_address': '127.0.0.1',
'local_port': 1080,
'password': '86tufeE96hJJrdjr',
'method': 'none',
'protocol': 'auth_chain_a',
'protocol_param': ',
'obfs': 'http_post',
'obfs_param': ',
'speed_limit_per_con': 0,
'speed_limit_per_user': 0,
'additional_ports' : {},
'additional_ports_only' : false,
'timeout': 120,
'udp_timeout': 60,
'dns_ipv6': false,
'connect_verbose_info': 0,
'redirect': '*:80#127.0.0.1:8080',
'fast_open': false
}
:wq
and press Enter to write the file to disk and quit the editor.redirect
to localhost port 8080 in case of a bad password. In a moment, we will set up a web server to listen on localhost port 8080.sudo vi /etc/systemd/system/shadowsocksr.service
[Unit]
Description=ShadowsocksR server
After=network.target
Wants=network.target
[Service]
Type=forking
PIDFile=/var/run/shadowsocksr.pid
ExecStart=/usr/bin/python /usr/local/shadowsocksr/shadowsocks/server.py --pid-file /var/run/shadowsocksr.pid -c /usr/local/shadowsocksr/user-config.json -d start
ExecStop=/usr/bin/python /usr/local/shadowsocksr/shadowsocks/server.py --pid-file /var/run/shadowsocksr.pid -c /usr/local/shadowsocksr/user-config.json -d stop
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target
:wq
and press Enter to write the file out and quit the editor.sudo systemctl enable shadowsocksr
sudo systemctl start shadowsocksr
sudo systemctl status shadowsocksr
sudo ss -tulpn | grep 80
sudo journalctl -u shadowsocksr
sudo tail /var/log/shadowsocksr.log
sudo apt install apache2
cd ~
wget https://github.com/arcdetri/sample-blog/archive/master.zip
unzip master.zip
sudo cp -rf sample-blog-master/html/* /var/www/html/
sudo vi /etc/apache2/ports.conf
Listen 127.0.0.1:8080
:wq
and press Enter to write the file out and quit the editor.sudo vi /etc/apache2/sites-available/000-default.conf
<VirtualHost 127.0.0.1:8080>
:wq
and press Enter to write the file out and quit the editor.sudo systemctl restart apache2
3.4.5.6
as an example. Open a browser, and visit http://3.4.5.6
. You should see your cover website.exit
sudo apt update
sudo apt upgrade
sudo apt install wget zip unzip python-m2crypto libsodium23
Downloads
directory, so change into that directory:cd ~/Downloads
wget https://github.com/shadowsocksrr/shadowsocksr/archive/manyuser.zip
wget https://s3.tok.ap.cloud-object-storage.appdomain.cloud/xzdl/manyuser.zip
sha256sum
command:sha256sum manyuser.zip
unzip manyuser.zip
mv shadowsocksr-manyuser shadowsocksr
sudo vi /etc/shadowsocks.json
3.4.5.6
as an example.{
'server':'3.4.5.6',
'server_ipv6':'::',
'server_port':80,
'local_address':'127.0.0.1',
'local_port':1080,
'password':'86tufeE96hJJrdjr',
'timeout':300,
'udp_timeout':60,
'method':'none',
'protocol':'auth_chain_a',
'protocol_param':',
'obfs':'http_post',
'obfs_param':',
'fast_open':false,
'workers':1
}
cd shadowsocksr/shadowsocks
sudo python local.py -c /etc/shadowsocks.json -d start
sudo tail /var/log/shadowsocksr.log
127.0.0.1
1080