Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to design a CLI-based client for tunneling #364

Open
Utopiah opened this issue Jun 16, 2024 · 2 comments
Open

How to design a CLI-based client for tunneling #364

Utopiah opened this issue Jun 16, 2024 · 2 comments
Labels

Comments

@Utopiah
Copy link
Contributor

Utopiah commented Jun 16, 2024

The goal is to use HTTPS as a circumvention measure when SSH isn't typically possible (e.g blocking traffic on port 22, blocking non HTTPS traffic, etc) yet not being limited to SSH.

It is currently possible to connect via curl as a way to show that using the CLI is possible. It does not maintain the connection though nor allow another client (that wouldn't mind the incurred delays) to connect via it.

Related https://webssh.net/documentation/help/networking/vpn-over-ssh/

@billchurch
Copy link
Owner

Not really as the terminal stream is served over websockets.

You would need some sort of companion app to run on the client to do something like this.

Tailscale or something else is probably more appropriate.

@Utopiah
Copy link
Contributor Author

Utopiah commented Jun 17, 2024

As Tailscale is based on Wireguard and some VPN related traffic would be blocked in such a scenario I don't think it would help.

What would writing "some sort of companion app" entail? Becoming a WebSocket client? Would it be (relatively easily) doable via NodeJS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants