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

代理端口无法转发局域网流量 #34

Closed
suzukua opened this issue Apr 7, 2022 · 8 comments
Closed

代理端口无法转发局域网流量 #34

suzukua opened this issue Apr 7, 2022 · 8 comments

Comments

@suzukua
Copy link
Collaborator

suzukua commented Apr 7, 2022

代理端口无法转发局域网流量

curl --socks5 192.168.100.1:1090 http://192.168.100.2 -U user:pwd -I -v 
*   Trying 192.168.100.1:1090...
* SOCKS5 connect to IPv4 192.168.100.2:80 (locally resolved)
* SOCKS5 request granted.
* Connected to 192.168.100.1 (192.168.100.1) port 1090 (#0)
> HEAD / HTTP/1.1
> Host: 192.168.100.2
> User-Agent: curl/7.74.0
> Accept: */*
> 
* Recv failure: Connection reset by peer
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer

clash日志

[2022-04-07 17:32:23][WARNING] [TCP] dial DIRECT (match IPCIDR/192.168.100.0/24) to 192.168.100.2:80 error: dial tcp4 192.168.100.2:80: i/o timeout

版本

Clash Meta v1.10.0 linux arm64 with go1.18 Sat Apr  2 13:56:18 UTC 2022
Linux RT-AX86U-A908 4.1.52 #2 SMP PREEMPT Sun Mar 27 02:44:22 CST 2022 aarch64 ASUSWRT-Merlin-KoolShare
@Skyxim
Copy link
Collaborator

Skyxim commented Apr 7, 2022

@zhudan curl电脑和clash是一台设备么 ,我这里是正常的,clash是本机 ,wsl2 socks5访问局域网的另一台机器
image
image

@suzukua
Copy link
Collaborator Author

suzukua commented Apr 7, 2022

@zhudan curl电脑和clash是一台设备么 ,我这里是正常的,clash是本机 ,wsl2 socks5访问局域网的另一台机器 image image

不是一台设备,是局域网另一台,从razord面板上貌似看不到连接信息啊,但是日志有警告。规则没有问题,其他国内网站国外网站访问都没问题

@Skyxim
Copy link
Collaborator

Skyxim commented Apr 7, 2022

@zhudan 不能链接connection是没有的这个正常 我晚上试试跨设备的吧

@suzukua
Copy link
Collaborator Author

suzukua commented Apr 7, 2022

@zhudan 不能链接connection是没有的这个正常 我晚上试试跨设备的吧

是不是arm才有这个问题?🧐,一时半会儿搭不了x86环境测试

@Skyxim
Copy link
Collaborator

Skyxim commented Apr 7, 2022

@zhudan 不是 你配置文件去敏感后发出来看看

@Skyxim
Copy link
Collaborator

Skyxim commented Apr 7, 2022

image

无法复现。暂时跳过,如需反馈提供更多消息,比如配置,路由表,网卡等

@Skyxim Skyxim closed this as completed Apr 7, 2022
@Skyxim
Copy link
Collaborator

Skyxim commented Apr 7, 2022

https://github.com/MetaCubeX/Clash.Meta/releases/tag/alpha
尝试下这个版本,问题是否修复

@suzukua
Copy link
Collaborator Author

suzukua commented Apr 8, 2022

https://github.com/MetaCubeX/Clash.Meta/releases/tag/alpha 尝试下这个版本,问题是否修复

完美了,没有问题了 @Skyxim 👍🏻

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