Skip to content

Instantly share code, notes, and snippets.

@peter-mcconnell
Last active September 8, 2021 07:32
Show Gist options
  • Save peter-mcconnell/a6b0182cbb9acb540bbdfa70fd20db8c to your computer and use it in GitHub Desktop.
Save peter-mcconnell/a6b0182cbb9acb540bbdfa70fd20db8c to your computer and use it in GitHub Desktop.
wsl2 port forward to k3s
# get 172 address from WSL env - ip addr show <device>
netsh interface portproxy add v4tov4 listenport=6443 listenaddress=0.0.0.0 connectport=6443 connectaddress=172.x.x.x
# then ensure the given listen port (6443 in this example) is open on the firewall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment