go-shadowsocks2 binary for ARM (android) This is a fork of : https://github.com/shadowsocks/go-shadowsocks2
- httpierce and shadowsocks2 binaries should be at /usr/local/bin
*First check that go-shadowsocks2 is install in your VPS
*vim /etc/systemd/system/shadowsocks2.service
inside shadowsocks2.service file should be something like this :
[Unit]
Description=Next-generation Shadowsocks in Go
[Service]
EnvironmentFile=/etc/default/shadowsocks2
ExecStart=/usr/local/bin/shadowsocks2 $OPTIONS
Restart=always
KillMode=process
TimeoutStartSec=5
TimeoutStopSec=5
[Install]
WantedBy=default.target
If you are are using a plugin check config on =
vim /etc/default/shadowsocks2
OPTIONS=-s 'ss://AEAD_CHACHA20_POLY1305:Gosixee7@:80' \
-verbose \
-plugin /usr/local/bin/httpierce \
-plugin-opts server
===============================
then use this commands:
systemctl daemon-reload
systemctl start shadowsocks2.service
systemctl status shadowsocks2
Run shadowsocks2 on server:
shadowsocks2 -s 'ss://AEAD_CHACHA20_POLY1305:Gosixee7@:8000' -verbose -plugin httpierce -plugin-opts "server"
*example How to run go-shadowsocks on Termux: First download the file with the command = wget -co address-file then =
chmod +x shadowsocks2
run shadowsocks2 with the command =
./shadowsocks2 -c 'ss://AEAD_CHACHA20_POLY1305:Gosixee7@your-vps-ip:80' -socks :1080 -verbose -plugin ./httpierce &>> ss.log
& test the connection =
curl -x socks5h://127.0.0.1:1080 http://httpbin.org/ip