Skip to content

0x1042/localtunnel

Repository files navigation

export local service to public

install

use go install

go install github.com/0x1042/localtunnel@latest

download release

download

start

server

localtunnel server --help
NAME:
   localtunnel server - start tunnel server

USAGE:
   localtunnel server [command options] [arguments...]

OPTIONS:
   --port value, -p value    tunnel listen port (default: 7853)
   --secret value, -s value  secret [$LT_TOKEN]
   --help, -h                show help

client

./localtunnel client --help
NAME:
   localtunnel client - start tunnel client

USAGE:
   localtunnel client [command options] [arguments...]

OPTIONS:
   --tunnel value, -t value  tunnel server addr
   --secret value, -s value  secret [$LT_TOKEN]
   --local value, -l value   local port (default: 0)
   --remote value, -r value  remote port (default: random)
   --help, -h                show help