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

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

Closed
marco20240618 opened this issue Oct 29, 2023 · 4 comments
Closed

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

marco20240618 opened this issue Oct 29, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@marco20240618
Copy link

这是我的配置文件

[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
Copy link
Author

问题已解决

@bdbai
Copy link
Member

bdbai commented Oct 31, 2023

@garymaxallen 问一下怎么解决的?

@marco20240618
Copy link
Author

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

@bdbai bdbai added configuration All about Leaf Configuration enhancement New feature or request and removed configuration All about Leaf Configuration labels Dec 2, 2023
@bdbai
Copy link
Member

bdbai commented Dec 2, 2023

#29 (comment)

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

No branches or pull requests

2 participants