I hope someday wireguard addresses this issue and makes itself fully transparent as a data link layer.
A userspace WireGuard client that exposes itself as a proxy
31–40 of 91 posts
Re: A userspace WireGuard client that exposes itself as a proxy
#32Re: A userspace WireGuard client that exposes itself as a proxy
#33What about UDP?
Re: A userspace WireGuard client that exposes itself as a proxy
#34Earlier quoted context omitted.
Neat! How does yours work? The Go version of this is easy to write, because wireguard-go has helpers to drive Netstack, which is also written in Go. But yours is in Rust. (I could have dug in, but I'm being lazy).
Sure, essentially it's a TCP and UDP server that: - receives connections and assigns a random internal port for it - wraps the data packets in a transport(TCP/UDP) packet that's routed from the internal port to the remote - wraps the transport in an IP packet that's routed from the address assigned the the proxy, and to the remote WireGuard address - wraps that with WireGuard's protocol (encryption) - sends off the e…
Re: A userspace WireGuard client that exposes itself as a proxy
#35I love wireguard but my one gripe with it is that its not a true data link layer. You have to give it routing information through an out of band mechanism “AllowedIPs.” One downside is that you can’t have two peers that act as general routers on the same wireguard network. With Ethernet, you can have multiple nodes in the same subnet acting as generic routers, it’s just a matter of sending IP packets to that host. I…
Re: A userspace WireGuard client that exposes itself as a proxy
#36Earlier quoted context omitted.
One simple reason is that the serverside might not want to expose a shell to its clients, and instead just provide network connectivity; you can configure something like that with SSH, but it's a pain, and WireGuard is approximately as simple to set up as SSH, which is the primary reason it's so popular.
And it's crypto is "very good" (so I've heard, not an expert) And it's fast/low overhead. And yea, surprisingly easy, "just works" I lurk their maillist, seems a nice group.
Re: A userspace WireGuard client that exposes itself as a proxy
#37Re: A userspace WireGuard client that exposes itself as a proxy
#38Re: A userspace WireGuard client that exposes itself as a proxy
#39Earlier quoted context omitted.
Mullvad exposes socks proxies over wireguard.
Mullvad's SOCKS proxies are only accessible if you've got the VPN active; they're an additional layer, not an alternative.
Re: A userspace WireGuard client that exposes itself as a proxy
#40Why wouldn’t you just run ssh -D to the remote machine? The effect is the same and you don’t need wire guard or wire proxy.
One simple reason is that the serverside might not want to expose a shell to its clients, and instead just provide network connectivity; you can configure something like that with SSH, but it's a pain, and WireGuard is approximately as simple to set up as SSH, which is the primary reason it's so popular.