Open philippgille opened 6 years ago
Maybe the underlying package of "Tunnel" can be used:
Or manually create an SSH tunnel with the stdlib, but utilize the labstack service. Their documentation contains descriptions on how to use their service with pure SSH (instead of their CLI), so if it's a public accessible service we can probably use it, too.
Instead of having to set up your own server, the available services can be used:
Also check out:
More similar reverse tunnel tools and services are discussed here: https://news.ycombinator.com/item?id=20410552
In case that article disappears, the options were:
In addition to serving a directory on your host computer to colleagues on your local network, it would be awesome if you could also share the directory to people outside of that network, even if you're behind a NAT/firefall.
SSH reverse tunnels make this possible.
Go has an SSH package and it should be possible to open a reverse tunnel within the application itself.