YtFlow / Maple

A lightweight Universal Windows proxy app based on https://github.com/eycorsican/leaf
Apache License 2.0
1.19k stars 121 forks source link

本地socks 端口开启了,但是不生效? #52

Closed marco20240618 closed 8 months ago

marco20240618 commented 8 months ago

这是我的配置文件

[General]
# Log are for debug only
loglevel = info
# Do not remove tun option
tun = auto
#dns-server = 8.8.8.8
dns-server = 223.5.5.5, 114.114.114.114

# Local HTTP CONNECT proxy
interface = 127.0.0.1
port = 1087

# Local SOCKS5 proxy with UDP Associate support
socks-interface = 127.0.0.1
socks-port = 1086

[Proxy]
Direct = direct
Reject = reject

# VMess over WebSocket over TLS (TLS + WebSocket + VMess)
VMessWSS = vmess, xxx.xxx.xxx.xxx, 443, username=xxxxxxxxxx, ws=true, tls=true, tls-insecure=true,ws-path=/xxxxx

[Rule]
IP-CIDR, xxx.xxx.xxx.xxx/32, Direct
FINAL, VMessWSS

使用 leaf-x86_64-pc-windows-gnu.exe 0.10.7 运行配置文件开启 1086端口 curl --socks5-hostname 127.0.0.1:1086 https://www.google.com 有回复

但是Maple开启的1086端口没有回复

curl --socks5-hostname 127.0.0.1:1086 https://www.google.com
curl: (28) Failed to connect to 127.0.0.1 port 1086 after 21036 ms: Couldn't connect to server

我使用的v2ray是 4.27.5版本,leaf是支持的。

marco20240618 commented 8 months ago

问题已解决

bdbai commented 8 months ago

@garymaxallen 问一下怎么解决的?

marco20240618 commented 8 months ago

也不算解决,你这个软件不用开本地端口就可以当vpn啊,所以不管他了。

bdbai commented 7 months ago

https://github.com/YtFlow/Maple/issues/29#issuecomment-1177730805