Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用docker运行,无法连接 #89

Open
Java2Boy opened this issue May 7, 2023 · 1 comment
Open

使用docker运行,无法连接 #89

Java2Boy opened this issue May 7, 2023 · 1 comment

Comments

@Java2Boy
Copy link

Java2Boy commented May 7, 2023

环境:Docker 按此教程:https://github.com/ihciah/shadow-tls/wiki/Run-with-Docker-Compose 设置运行

客户端使用V2rayN添加相关信息,无法链接

旁路由docker运行后,logs提示:2023-05-07T15:57:20.038955Z INFO shadow_tls: Start 4-thread Client with:
Listen address: 0.0.0.0:3443
Target address: 8888:8888:8888:8888:8888:0000:0000:0001:8443
TLS server names: [DnsName(DnsName(DnsName("cloud.tencent.com")))]
TLS Extension: ALPN(None)
TCP_NODELAY: true
V3 Protocol: disabled
2023-05-07T15:57:20.038955Z INFO shadow_tls: Start 4-thread Client with:,
Listen address: 0.0.0.0:3443,
Target address: 2607:5300:60:38c3:6b02:0000:0000:0001:8443,
TLS server names: [DnsName(DnsName(DnsName("cloud.tencent.com")))],
TLS Extension: ALPN(None),
TCP_NODELAY: true,
V3 Protocol: disabled,
2023-05-07T16:04:17.787836Z INFO shadow_tls::client: Accepted a connection from 192.168.50.204:54244,
2023-05-07T16:04:18.127795Z INFO shadow_tls::client: Relay for 192.168.50.204:54244 finished,
2023-05-07T16:05:24.412699Z INFO shadow_tls::client: Accepted a connection from 192.168.50.204:54285,
2023-05-07T16:05:24.748832Z INFO shadow_tls::client: Relay for 192.168.50.204:54285 finished,
2023-05-07T16:05:25.453561Z INFO shadow_tls::client: Accepted a connection from 192.168.50.204:54287,
2023-05-07T16:05:26.836819Z INFO shadow_tls::client: Relay for 192.168.50.204:54287 finished,
2023-05-07T16:05:27.307098Z INFO shadow_tls::client: Accepted a connection from 192.168.50.204:54290,
2023-05-07T16:05:27.656490Z INFO shadow_tls::client: Relay for 192.168.50.204:54290 finished,
2023-05-07T16:06:05.780383Z INFO shadow_tls::client: Accepted a connection from 192.168.50.204:54320,
2023-05-07T16:06:06.114128Z INFO shadow_tls::client: Relay for 192.168.50.204:54320 finished

服务器端logs:
2023-05-07T15:44:21.049688Z INFO shadow_tls: Start 1-thread Server with:
Listen address: 0.0.0.0:8443
Target address: 127.0.0.1:24000
TLS server address: (wildcard-sni:off)fallback->cloud.tencent.com:443
TCP_NODELAY: true
V3 Protocol: disabled

@ihciah
Copy link
Owner

ihciah commented May 8, 2023

target addr写错了?ipv6的话要注意表示方式,可能要中括号?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants