shadowsocks-rust
shadowsocks-rust copied to clipboard
Server started and port is active but no data transfer!
Hi, I have installed shadowsocks-rust by docker and it running but I can't get any data. This is my config file:
{
"server":"0.0.0.0",
"server_port":2767,
"password":"--------",
"timeout":300,
"method":"chacha20-ietf-poly1305",
"nameserver":"8.8.8.8",
"mode":"tcp_and_udp",
}
and these are docker containers:
docker run --name sslocal-rust \
--restart always \
-p 1080:1080/tcp \
-v /etc/shadowsocks-rust:/etc/shadowsocks-rust \
-dit ghcr.io/shadowsocks/sslocal-rust:latest
docker run --name ssserver-rust \
--restart always \
-p 2767:2767/tcp \
-p 2767:2767/udp \
-v /etc/shadowsocks-rust:/etc/shadowsocks-rust \
-dit ghcr.io/shadowsocks/ssserver-rust:latest
What could be the problem?
I also have a ShadowsockR server running perfectly on port 443.
No idea. But the default configuration path should be /etc/shadowsocks-rust/config.json: https://github.com/shadowsocks/shadowsocks-rust/blob/eccebfa37f5358b94cafb03d5301982225a6c63f/Dockerfile#L46
Try to run it directly without docker.
No nameserver in rust ss doc.
No
nameserverin rust ss doc.
It doesn’t matter.
Ok, I tried ones more to install ss-rust. This time installed it by Shadowsocks-rust Docker Image by Teddysun (it is latest version).
The server is up and port is open but I get this error in Proxifier proxy tester:

and it makes these lines in docker logs:
INFO received SIGTERM, exiting
INFO shadowsocks server 1.14.3 build 2022-04-04T17:17:20.738520637+00:00
INFO shadowsocks tcp server listening on 0.0.0.0:2767, inbound address 0.0.0.0:2767
INFO shadowsocks udp server listening on 0.0.0.0:2767
WARN handshake failed, maybe wrong method or key, or under replay attacks. peer: 93.118.172.126:12992, error: invalid tag-in
This is server config file:
{
"server":"0.0.0.0",
"server_port":2767,
"password":"----------",
"timeout":300,
"method":"chacha20-ietf-poly1305",
"nameserver":"8.8.8.8",
"mode":"tcp_and_udp",
}
and client config:
{
"server": "my_host_ip",
"server_port": 2767,
"password": "----------",
"method": "chacha20-ietf-poly1305",
"local_address": "127.0.0.1",
"local_port": 1097,
"mode":"tcp_and_udp"
}
port scanner output:

any idea about the problem?
Edit: I must say my vps runs on an Openvz platform, I never had any lock to install v2ray - xray or ss-rust on it. Only SSR works for me. But I can install them on a local vmware machine without problem. Is this an Openvz specified problem? I even can't install snapd on it.
WARN handshake failed, maybe wrong method or key, or under replay attacks. peer: 93.118.172.126:12992, error: invalid tag-in
Is this peer: 93.118.172.126:12992 seems familiar to you? You may add -vvv on command line arguments and see what exactly ssserver received from clients.