edgevpn icon indicating copy to clipboard operation
edgevpn copied to clipboard

socks5 support

Open mudler opened this issue 3 years ago • 4 comments

mudler avatar Mar 15 '22 23:03 mudler

@mudler can you add a bit description here? Might give this a shot

matti avatar Oct 09 '22 11:10 matti

Hi @matti ! thanks for showing interest in this.

The idea I had behind this feature is to provide a socket server from one side, and a "proxy" on the other side, similarly to https://github.com/mudler/edgevpn/blob/master/pkg/services/egress.go.

Egress works that a node starts a HTTP proxy server and connections to the proxy are sent to another node which is advertised as egress (this needs to be explicitly enabled from the CLI). The egress accepts connections and will proxy through them - the same thing could have be done with socks5, and hence this card!

I hope it was clear enough and spiked your interest :)

mudler avatar Oct 10 '22 07:10 mudler

What's the benefit of using socks5 instead of http proxy? lower overhead?

matti avatar Oct 10 '22 08:10 matti

not really, just providing legacy support and isolation with old protocols. In this way we could be on pair with tor and provide the same abstraction layer

mudler avatar Oct 27 '22 14:10 mudler