untun icon indicating copy to clipboard operation
untun copied to clipboard

How do I stop?

Open dkotik opened this issue 2 years ago • 1 comments

Describe the feature

There is currently no command to stop the tunnel that I can find. How do I stop it?

Additional information

  • [ ] Would you be willing to help implement this feature?

dkotik avatar Sep 09 '23 08:09 dkotik

Assuming you are using a configuration like this, you should be able to close a tunnel by doing this:

const tunnel = await startTunnel({ port: 3000 });

tunnel.close();

wdhdev avatar Sep 18 '23 07:09 wdhdev