Remix.run Logo
rklaehn 5 days ago

You can forward a locally running TCP service using dumbpipe listen-tcp.

E.g. you got a local development webserver running on 127.0.0.1:3000. You can expose this via dumbpipe using

dumbpipe listen-tcp --host 127.0.0.1:3000

You get a node ticket that contains details on how to connect. Put it into https://ticket.iroh.computer/ if you want to know what's in it.

Then on the other side, e.g. on a small box in the cloud, you can do this:

dumbpipe connect-tcp --addr 0.0.0.0:80 <ticket>

Any TCP request to the cloud box on port 80 will be forwarded to the dev webserver.