HTTPS by default
Every tunnel gets its own address on ktunx.foo with a valid certificate.
Tunnels for localhost
Run one command and get a link anyone can open. For webhooks, demos and testing your app on a real phone.
Needs Node.js 20 or newer.
npm install --global @ktunx/tunnelSign in with GitHub and copy the token from your dashboard.
ktunx login <token>Point it at any local port. The public address appears at the top of the terminal.
ktunx http 3000Every tunnel gets its own address on ktunx.foo with a valid certificate.
With Pro, name a tunnel and it gets the same address every time, even after a restart.
Hot reload and live connections work through the tunnel.
If your Wi-Fi blinks, ktunx reconnects and keeps the same address.
Open tunnels from your own scripts and tests with the same package.
Method, path, status and timing scroll by as requests arrive.
ktunx gives a server running on your computer a public HTTPS address. Run one command and anyone can open your local app at an address on ktunx.foo, with a valid certificate. Requests travel to your machine over one encrypted connection that your computer opens, so there is nothing to configure on your router or firewall.
Receiving webhooks from Stripe, GitHub, Shopify or Telegram while you develop, OAuth and payment callbacks that need a public HTTPS URL, showing work in progress to a client or a colleague, and testing your site on a real phone or tablet.
Node.js 20 or newer on macOS, Windows or Linux, and a free ktunx account. Install the command with npm install --global @ktunx/tunnel, save your token once with ktunx login, and you are ready. Nothing to set up on your router or firewall.
Yes. Sign in with GitHub, copy your token and open tunnels with random addresses, within fair-use limits. ktunx Pro, a small monthly subscription, adds named tunnels, your own handle and higher limits; your dashboard shows both plans.
Yes, including WebSockets, so hot reload keeps working through the tunnel. Dev servers that check the host name need the tunnel domain allowed, for example .ktunx.foo in the allowedHosts setting of Vite.
Yes, with ktunx Pro. Give a tunnel a name, for example ktunx http 3000 --name api, and it gets the same address every time, made of your account handle and that name. On any plan, if your connection drops, ktunx reconnects and keeps the address.
Visitors reach your tunnel over HTTPS, and the connection between ktunx and your computer is encrypted too. ktunx does not store the content of requests. Anyone who knows the address can open it, so only tunnel what you are happy to share, and close the tunnel when you are done.
Yes. The same npm package that installs the command also exports connect(), which opens a tunnel from Node.js with your token and an optional name. That suits test setups, preview environments and scripts.