Skip to content

Cannot access some websites when opening ipv6 Routing on Android device #2984

@Czile-create

Description

@Czile-create

What version of shadowsocks-libev are you using?

docker: shadowsocks/shadowsocks-libev:3.3.4

What operating system are you using?

Windows/WSL2/docker

What did you do?

I have both ipv6 and ipv4 public address on my device. And I setup shadowsocks service by docker, here is my docker compose file:

services:
  shadowsocks:
    image: shadowsocks/shadowsocks-libev
    ports:
      - "1235:8388/tcp"
      - "1235:8388/udp"
    environment:
      - METHOD=aes-256-gcm
      - PASSWORD=***
      - SERVER_ADDR_IPV6=::0
      - SERVER_ADDR=0.0.0.0
    restart: always

I tried to connect my vpn using android client. It works when I close ipv6 routing on my client, but it doesn't work when it's open. Some websites cannot be accessed and the logs in the server is like:

2023-11-08 23:57:35  2023-11-08 15:57:35 ERROR: connect: Address not available
2023-11-08 23:57:35  2023-11-08 15:57:35 ERROR: connect error
2023-11-08 23:57:35  2023-11-08 15:57:35 ERROR: connect: Address not available
2023-11-08 23:57:35  2023-11-08 15:57:35 ERROR: connect error
2023-11-08 23:57:35  2023-11-08 15:57:35 ERROR: connect: Address not available
2023-11-08 23:57:35  2023-11-08 15:57:35 ERROR: connect error

What did you expect to see?

If the website support ipv6, use ipv6 first.

What did you see instead?

In some ipv6-supposted website, it cannot be accessed

What is your config in detail (with all sensitive info masked)?

Posted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions