console icon indicating copy to clipboard operation
console copied to clipboard

Add socks5 proxy support

Open stainboy opened this issue 3 years ago • 2 comments

This PR adds socks5 proxy support to redpanda/console (fka kowl). Refer RFC 1928 and RFC 1929.

Usage:

ssh -N -D localhost:1080 <bastion_server>
export all_proxy=socks5h://localhost:1080
export KAFKA_BROKERS=<brokers_behind_protected_network>
./console

stainboy avatar Sep 03 '22 16:09 stainboy

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 03 '22 16:09 CLAassistant

Hey @stainboy , just FYI I looked at the PR but I'm a bit hesitant to merge. Generally all looks good to me, the only reason why I'm hesitant is that we usually provide all config options via YAML + Env via the explicit config options that Console offers.

If you want to get this merged, I'd like to ask you to add this to our usual configuration structs including validation (all config structs have a validate method). When I find time I would the same, but I have never heard about the need for this. Thus I would also be interested in your usecase and how this option helps you.

Thank you for filing the PR!

weeco avatar Sep 23 '22 00:09 weeco