LinuxCommandLibrary

bore-local

Expose local ports through a remote tunnel

TLDR

Expose a local port to a remote Bore server

$ bore local -t [remote_server_address] [local_port]
copy
Expose a specific local host instead of localhost
$ bore local -l [host] -t [remote_server_address] [local_port]
copy
Specify a remote server port explicitly
$ bore local -t [remote_server_address] -p [remote_port] [local_port]
copy
Use a secret for authentication
$ bore local -t [remote_server_address] -s [your_secret] [local_port]
copy

SYNOPSIS

bore local [options] localport_

DESCRIPTION

bore local creates a tunnel from a local port to a remote bore server, making the local service accessible via the remote server's public address. This is useful for exposing development servers, webhooks, or other local services.
The connection is maintained as long as the command runs, and traffic is forwarded bidirectionally.

PARAMETERS

-t, --to address

Remote bore server address (required)
-l, --local-host host
Local host to forward from (default: localhost)
-p, --port port
Remote port to request on the server
-s, --secret secret
Authentication secret for the server
-h, --help
Display help information

CAVEATS

Remote port assignment may be automatic if not specified. Connection stability depends on network conditions. The secret must match the server's configured secret if authentication is required.

SEE ALSO

bore(1), ssh(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community