Skip to content

alessiobianchini/Tunnelize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tunnelize

Tunnelize is a lightweight tunnel made of:

  • a .NET WebSocket/HTTP proxy server (Tunnelize)
  • a Node.js CLI client (TunnelizeClient)

It forwards remote HTTP requests to a local app through a persistent WebSocket connection.

Features

  • HTTP request forwarding over WebSocket
  • Automatic reconnect on client disconnect
  • Configurable log levels in CLI
  • Tunnel id assignment and reuse
  • Basic keepalive (ping / pong)

CLI install

npm install -g tunnelize

CLI usage

tunnelize <protocol> <port> [tunnelId]

Examples:

tunnelize http 8080
tunnelize https 443
tunnelize http 3000 abc123def4

Environment

DEV_TUNNEL_URL=tunnelize.azurewebsites.net

Local development

  1. Clone the repository
  2. Run server:
dotnet run --project Tunnelize/Tunnelize.csproj
  1. Run client:
cd TunnelizeClient
pnpm install
node src/tunnelize.js http 8080

License

MIT

About

Tunnelize is a command-line tool that allows you to easily forward HTTP or HTTPS requests from a remote server to a local instance. It is designed to facilitate secure, simple, and reliable tunnel connections for development environments.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors