github / gh-net

A network bridge between a Codespace and a local machine.
https://github.com/github/gh-net
285 stars 21 forks source link

NAT doesn't work #55

Open singlewind opened 1 year ago

singlewind commented 1 year ago

Describe the bug I have an issue to make NAT work but DNS works. The VPN tunnel has been established. I checked the documentation for how the traffic route works. However, it is not very clear to me. Can we have some diagnostics steps? Do it only works for private IP addresses?

Reproduce steps Steps to reproduce the behavior:

  1. Start codespace, install github cli and sshd
  2. Run gh net start locally

Expected behavior NAT works.

Screenshots Tunnels look established. Screenshot 2023-05-09 at 9 32 32 am

No NAT Screenshot 2023-05-09 at 9 28 45 am

Desktop (please complete the following information):

Additional context Codespace OS: Debian GNU/Linux 11 (bullseye)

Logs Unfortunately, I have to remove a few logs contains sensitive information. logs.zip