kubefwd icon indicating copy to clipboard operation
kubefwd copied to clipboard

Usage with wsl2

Open Tarang opened this issue 3 years ago • 5 comments

Thank you for making this fantastic project

I am running kubefwd svc on windows, and then trying to access the hostnames from WSL2 on Ubuntu but the ports don't see to forward.

I'm aware its possible to also install kubefwd on the WSL side on ubuntu but then it would mean i can't access use docker (as docker runs on the windows side)

Tarang avatar Mar 03 '21 10:03 Tarang

same problem on wsl2 with ARch

adrien-barret avatar Jun 22 '21 14:06 adrien-barret

@Tarang I am sorry you are having trouble.

I am adding a help wanted flag as I have not used Windows in almost 20 years. I mostly run a Linux workstation (and mac on occation).

cjimti avatar Jul 08 '21 06:07 cjimti

I have been stuck with this problem on wsl2 too.

One solution I imagine would be to add a dnsmasq integration instead using /etc/hosts (choosable) somehow. Then on windows just point wsl2 as additional dns server.

Btw, I love this project too!

eolivares-e avatar Aug 02 '21 21:08 eolivares-e

Use the bash program instead of Ubuntu Terminal and configure AWS credentials for the root user, it should work fine. It does for our setup. Just did it today for a few of our Windows users.

abheyogy avatar Nov 03 '21 08:11 abheyogy

Is there a way to access the forwarded services from WSL to Windows.

durgeksh avatar Aug 09 '23 17:08 durgeksh