TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Wireproxy: WireGuard client that exposes itself as a HTTP/SOCKS5 proxy

358 pointsby JNRoweabout 1 year ago

18 comments

lxgrabout 1 year ago
Great little tool!<p>I use it to selectively proxy Firefox tabs using multi-account containers to a home router that speaks Wireguard (but no application-layer proxying protocol or SSH).
评论 #39904173 未加载
评论 #39903224 未加载
nicocoabout 1 year ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;dariost&#x2F;soks">https:&#x2F;&#x2F;github.com&#x2F;dariost&#x2F;soks</a> works better for what I needed to do with wireguard. It does more or less the same thing but it reuses an existing wireguard interface. I detailed my use in this blog post <a href="https:&#x2F;&#x2F;www.nicoco.fr&#x2F;blog&#x2F;2023&#x2F;09&#x2F;10&#x2F;wireguard&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.nicoco.fr&#x2F;blog&#x2F;2023&#x2F;09&#x2F;10&#x2F;wireguard&#x2F;</a> (yes, shameless plug).
评论 #39904480 未加载
评论 #39904847 未加载
评论 #39907099 未加载
eptcykaabout 1 year ago
There&#x27;s also onetun. <a href="https:&#x2F;&#x2F;github.com&#x2F;aramperes&#x2F;onetun">https:&#x2F;&#x2F;github.com&#x2F;aramperes&#x2F;onetun</a>
vbezhenarabout 1 year ago
Is there completely userspace server implementation? Without tun&#x2F;tap devices, etc. I guess some kind of userspace IP stack is necessary for that, although not sure.
评论 #39901991 未加载
评论 #39901323 未加载
评论 #39901338 未加载
rftabout 1 year ago
Neat! This is a great replacement for my SSH tunnels when I need a different IP.<p>Somewhat related tool: pproxy, can, among many other things, &quot;convert&quot; different tunnel protocols into each other. Also features routing capabilities. I used it to turn an SSH SOCKS5 into an HTTP proxy. <a href="https:&#x2F;&#x2F;github.com&#x2F;moreati&#x2F;pproxy">https:&#x2F;&#x2F;github.com&#x2F;moreati&#x2F;pproxy</a>
评论 #39913036 未加载
hairyplanterabout 1 year ago
I was thinking “hey, I bet it would be pretty easy to write something like this in Go”. And of course it’s written in Go!
chazeonabout 1 year ago
Several multi-protocol proxy clients support this functionality, some notable open-source examples include:<p><pre><code> - [sing-box](https:&#x2F;&#x2F;github.com&#x2F;SagerNet&#x2F;sing-box) - [clash-meta](https:&#x2F;&#x2F;github.com&#x2F;muink&#x2F;Clash.Meta) and other clash-based clients - [xray](https:&#x2F;&#x2F;github.com&#x2F;xtls&#x2F;xray-core) </code></pre> Close-sourced client include [Surge Mac&#x2F;iOS](<a href="https:&#x2F;&#x2F;nssurge.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nssurge.com&#x2F;</a>).
评论 #39903198 未加载
评论 #39903226 未加载
评论 #39903624 未加载
yjftsjthsd-habout 1 year ago
How&#x27;s the performance? My memory is that &quot;vanilla&quot; SOCKS is really easy to do (just run ssh with the right option and tell your application to use it) but really slow. I suspect this is mostly for cases where you don&#x27;t <i>have</i> a normal SOCKS&#x2F;ssh server, but I&#x27;m curious if it offers a benefit there too.
评论 #39901339 未加载
评论 #39902163 未加载
poormanabout 1 year ago
Nice! I was just thinking it would be sweet to have something like this to proxy all my Thunderbird email connections through my Tailscale exit node, without having to direct all my traffic through the exit node.
评论 #39902133 未加载
评论 #39902702 未加载
imiricabout 1 year ago
Neat!<p>If you want something like this specifically for Mullvad VPN, I&#x27;ve had a good experience with <a href="https:&#x2F;&#x2F;github.com&#x2F;imiric&#x2F;mullvad-proxy">https:&#x2F;&#x2F;github.com&#x2F;imiric&#x2F;mullvad-proxy</a> (not my project, just forked it for some updates). What I like is that it embeds the Mullvad CLI tool, so switching servers is trivial, and it&#x27;s all isolated from the host machine. It&#x27;s also &quot;just&quot; nginx and some scripts, so it should have good SOCKS5 support.
评论 #39904834 未加载
Scarbuttabout 1 year ago
Isn&#x27;t this already easily achievable with ssh? with &#x27;ssh -D[port] foo@somehost&#x27; ssh will act as a SOCKS server.
评论 #39902903 未加载
bdd8f1df777babout 1 year ago
Just a note: sing-box can do the same thing too. (<a href="https:&#x2F;&#x2F;sing-box.sagernet.org&#x2F;configuration&#x2F;outbound&#x2F;wireguard&#x2F;#structure" rel="nofollow">https:&#x2F;&#x2F;sing-box.sagernet.org&#x2F;configuration&#x2F;outbound&#x2F;wiregua...</a>)
carabout 1 year ago
Would this work for watching video via an Apple TV? Apparently it’s possible to configure the ATV to use SOCKS, but the wireproxy implementation notes mention lack of UDP at the moment. So that would preclude video streaming, correct?
chrjabout 1 year ago
I&#x27;d really like to see an application level VPN that plays well with Go to `Dial` a `net.Conn` or `Listen` for a `net.Listener` in my Go application.
mongolabout 1 year ago
I set up something similar using network namespaces with Wireguard and tinyproxy. But performance wasn&#x27;t stellar. Interested how this performs.
egberts1about 1 year ago
No. Do not wrap anything around the WireGuard protocol.<p>If you must, the very last protocol you should use is HTTP&#x2F;HTTP3.
评论 #39924118 未加载
99112000about 1 year ago
Does it support OpenVPN?
评论 #39901247 未加载
Mbartuabout 1 year ago
This hybrid approach addresses a significant user pain point - the ease of routing specific traffic through VPN tunnels. However, while Wireproxy&#x27;s utility in personal and small-scale deployments is evident, its scalability and security in larger, enterprise-level applications warrant further scrutiny. The reliance on user-space operation, though advantageous for certain aspects of performance and compatibility, introduces potential bottlenecks and security concerns
评论 #39906206 未加载
评论 #39905903 未加载