- Description
- Installation
- Usage
- Custom subdomain
- Serving local directory
- Password protection
- Web interface
- HTTP logs
- Server
- License
JsTunnel provides unique public URLs allowing you to easily share a web service on your local development machine with the world through a secure tls tunnel.
npm install -g jstunnelnpx jstunnel [options]Start a webserver on some local port (e.g. 3000) and use the cli to request a tunnel to your local server.
npx jstunnel -p 3000npx jstunnel --helpnpx jstunnel -p 3000 -s subdomainnpx jstunnel --directory ./npx jstunnel -p 3000 --auth username:passwordnpx jstunnel -p 3000 --auth user:pass:+/privatenpx jstunnel -p 3000 --auth user:pass:-/publicnpx jstunnel -p 3000 --webnpx jstunnel -p 3000 --web falsenpx jstunnel -p 3000 --log rawnpx jstunnel -p 3000 --log compactnpx jstunnel -p 3000 --log combinednpx jstunnel -p 3000 --log [type]:200npx jstunnel -p 3000 --log falsenpm install -g jstunnel
jstunnel-server --helpnpx -p jstunnel jstunnel-server [options]# svtslv/jstunnel or ghcr.io/svtslv/jstunnel
docker run \
-d \
--name jstunnel-server \
--restart unless-stopped \
-p 9000:9000 \
svtslv/jstunnel \
jstunnel-servercat ./docker-compose.yamlcat ./kubernetes.yaml# With SSl (Single or Wildcard)
jstunnel -p 3000 -s tunnel --domain domain.com --api https://tunnel.domain.com
# Without SSL (Net connect)
jstunnel -p 3000 --domain domain.com --remoteTls false --api http://net.domain.comYour stars on GitHub
MIT