rapiz1 / rathole

A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok.
Apache License 2.0
9.8k stars 488 forks source link

可以增加一个socks5代理的feature吗? #242

Closed reformc closed 1 year ago

reformc commented 1 year ago

就是服务端可以转发客户端的socks代理端口,用以访问客户端的内网。 我也是将客户端运行在较小的mips设备上,设备存储一共也只有5M,如果再另外启动一个socks服务,会增加设备负担。 而且socks代理功能写进一个feature,只要不在默认的feature里,并不会增加的编译体积。 我试过在你的代码基础上添加了一个线程用以运行socks代理,编译后体积只增加了几十K(用你的minimal编译并upx压缩后),内存消耗几乎没有变化。

fernvenue commented 1 year ago

Duplicate of https://github.com/rapiz1/rathole/issues/241.

aa51513 commented 1 year ago

I am also very much looking forward to this feature being implemented