untun
untun copied to clipboard
How do I stop?
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?
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();