← 返回命令列表

Linux command

bore-local 命令

趣味

复制后可按需替换文件名、目录或参数。

常用示例

Expose

bore local -t [remote_server_address] [local_port]

Example

bore local -l [host] -t [remote_server_address] [local_port]

Example

bore local -t [remote_server_address] -p [remote_port] [local_port]

Example

bore local -t [remote_server_address] -s [your_secret] [local_port]

说明

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.

参数

-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

FAQ

What is the bore-local command used for?

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.

How do I run a basic bore-local example?

Run `bore local -t [remote_server_address] [local_port]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -t, --to _address_ do in bore-local?

Remote bore server address (required)