ProxyBridge
ProxyBridge copied to clipboard
[Bug]: 4.0.0 does not work with Mihomo SOCKS5 inbound
Platform
Windows
ProxyBridge Version
4.0.0
OS and Version
Windows 10 22H2
Documentation
- [x] I have read the Windows documentation
- [ ] I have read the macOS documentation
- [ ] I have read the Linux documentation
Code Review
- [ ] I have gone through the code page
Describe the Bug
- Configured a SOCKS5 inbound on port 7891 in Mihomo (FlClash 0.8.92 or 0.8.98):
listeners:
- name: test-in
type: socks # or mixed
port: 7891
listen: 0.0.0.0 # or 127.0.0.1
udp: true
- Tested Curl to verify it works via the inbound (
curl.exe --socks5 127.0.0.1:7891 https://example.com). - Configured a corresponding SOCKS5 proxy in ProxyBridge.
- "Test Connection" works; the request is visible in FlClash.
- Configured a corresponding rule for
curl.exewith the TCP protocol. - Tried
curl.exe https://example.com. The requests time out. FlClash does not see them. ProxyBridge does log them:curl.exe (PID:14400) -> 8.47.69.0:443 via Proxy SOCKS5://127.0.0.1:7891
Additional Context
The attached file contains a captured network exchange between ProxyBridge and Mihomo.
After starting the capture, ProxyBridge was launched and curl.exe https://example.com was run.
The Mihomo inbound config was:
listeners:
- name: test-in
type: socks
port: 7891
listen: 0.0.0.0
udp: true
WireShark filter: tcp.port == 7891.
ProxyBridge initiates a SOCKS5 session, establishes a UDP association (though the rule is for TCP only), and sends keep-alive messages, but does nothing on Curl requests.
-- Very similar issue, though marked as resolved: #155.