myzhang1029 / penguin-rs

A fast TCP/UDP tunnel, transported over HTTP WebSocket.
Apache License 2.0
27 stars 1 forks source link

Reverse SOCKS proxy does not work? #20

Closed symmetrisch closed 1 year ago

symmetrisch commented 1 year ago

How do I open a SOCKS listener on the server side? Tried

sudo ./penguin server --port 443 --tls-cert cert.pem --tls-key privkey.pem --obfs --reverse

but

./penguin client -k wss://example.com/ws socks

opens :1080 on the client side and

./penguin client -k wss://example.com/ws R:socks

yields

error: invalid value 'R:socks' for '<REMOTE>...': Invalid port

myzhang1029 commented 1 year ago

Sorry but that is correct. I have not implemented that and it is not planned yet.

You might want to check out the README for the most significant differences from chisel.

symmetrisch commented 1 year ago

Understood. Would be great to have this feature someday, speed looks really good with Rust :-)

myzhang1029 commented 1 year ago

Thanks for the support!