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

wireguard本身能通过代理连接吗 #116

Open
heheda123123 opened this issue Apr 29, 2024 · 2 comments
Open

wireguard本身能通过代理连接吗 #116

heheda123123 opened this issue Apr 29, 2024 · 2 comments

Comments

@heheda123123
Copy link

比如我有个代理,本地监听socks5 1080
能否设置woreproxy通过这个socks5 1080 去连接wireguard

@qupig
Copy link

qupig commented Dec 4, 2024

I don't think it's possible to set up a front proxy in wireproxy, but you could always do it via 3rd party tools like proxychains.

@CellLz
Copy link

CellLz commented Dec 31, 2024

mihomo(也就是以前的clash-meta)支持前置代理,把wireguard的参数按照mihomo的格式写好,然后在dialer-proxy的参数后面写上你的这个前置代理,运行以后就会先连接你的本地或其他代理,然后再在前置代理的基础上启动wireguard的代理。只不过这样一来你就不需要wireproxy了,可以直接在mihomo里面完成后续的分流或者代理。(不过要注意,mihomo的链式代理不支持wireguard,只能用这个方法)
参考文档在这里https://wiki.metacubex.one/config/proxies/wg/?h=wireguard

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

3 participants