shadowsocks-rust icon indicating copy to clipboard operation
shadowsocks-rust copied to clipboard

Docker version is not working for me

Open Comandante1977 opened this issue 1 year ago • 0 comments
trafficstars

Hi! My configs:

Server's config.json { "server": "0.0.0.0", "server_port":8388, "password":"pass", "timeout":300, "method":"aes-256-gcm", "ipv6_first":false, "mode":"tcp_and_udp" }

Servers docker-compose.yml version: "3.7"

networks: ss: enable_ipv6: false ipam: driver: default

services: shadowsocks: image: ghcr.io/shadowsocks/ssserver-rust:latest container_name: shadowsocks networks: - ss cap_add: - NET_ADMIN - SYS_MODULE

 volumes:
    - /root/shadowsocks/conf/config.json:/etc/shadowsocks-rust/config.json
 ports:
    - 12005:8388/tcp
    - 12005:8388/udp
 restart: unless-stopped

Client's config.json { "server": "ip", "mode":"tcp_and_udp", "server_port":12005, "local_port":1080, "password":"pass", "timeout":60, "method":"aes-256-gcm" }

Error on client 2024-10-20T19:02:01.673113663+03:00 ERROR socks5 tcp client handler error: connect ip:12005 timeout

Firewall rules are good on server.

Where is the problem?

IPv6 enabled on server and docker, but there is no IPv6 on client.

Comandante1977 avatar Oct 20 '24 16:10 Comandante1977