metalbear-co / mirrord

Connect your local process and your cloud environment, and run local code in cloud conditions.
https://mirrord.dev
MIT License
3.75k stars 101 forks source link

Any targetless binary tool list supported by mirrord #1944

Open elvis-cai opened 1 year ago

elvis-cai commented 1 year ago

Hi team

we are wondering if there's any working binary tool we could use in our day-to-day work, atm we know postman and pgadmin work, is there any browser supported by mirrors, we tried with chrome and safari, unfortunately, neither of them works, if maybe useful if devs could open the browser to test come Kubernetes ingress resources directly, thanks.

aviramha commented 1 year ago

Thanks for the suggestion. I took a quick look and it doesn't look like an "easy" one. As a workaround, to still provide some value to your case, I'd suggest to try out running a SOCKS proxy or something similar using mirrord, then making your browser use it - it's not as neat as just running via mirrord, but that has higher chances of working sooner :)

elvis-cai commented 1 year ago

understand, thanks @aviramha, will look at the direction to forward the remote IP: port to my local laptop, then I could use any tool to connect, this is quite similar to the way https://github.com/knight42/krelay works

aviramha commented 1 year ago

No worries. Feel free to reopen so we can prioritize this at some point! (also gauge some interest)

elvis-cai commented 1 year ago

sounds good, will keep it open then.

aarnaud commented 11 months ago

using this : https://github.com/things-go/go-socks5/tree/master/_example

mirrord exec -- ./socks5-proxy

that do the job for a browser

aviramha commented 11 months ago

using this : things-go/go-socks5@master/_example

mirrord exec -- ./socks5-proxy

that do the job for a browser

Great! It'd be awesome if you can send a PR mentioning it in our docs, maybe under guides?

danielloader commented 8 months ago

https://github.com/rofl0r/microsocks works too, handy given it's on homebrew and most linux package managers out the box.

Alternatively I've had fun with mirrord exec -- zsh and then being able to run dig/curl/etc as if I were in the cluster for dns/ip connectivity. Definitely been helpful for some diagnosis in a pinch.

image

ni-todo-spot commented 8 months ago

using this : things-go/go-socks5@master/_example

mirrord exec -- ./socks5-proxy

that do the job for a browser

Great! It'd be awesome if you can send a PR mentioning it in our docs, maybe under guides?

Created this PR with a suggested setup which worked for me: https://github.com/metalbear-co/mirrord.dev/pull/223