mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
bore, bore-local: add page (#17889)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# bore local
|
||||
|
||||
> Start a local proxy to a remote server using Bore.
|
||||
> More information: <https://github.com/ekzhang/bore#detailed-usage>.
|
||||
|
||||
- Expose a local port to a remote Bore server:
|
||||
|
||||
`bore local {{[-t|--to]}} {{remote_server_address}} {{local_port}}`
|
||||
|
||||
- Expose a specific local host instead of `localhost`:
|
||||
|
||||
`bore local {{[-l|--local-host]}} {{host}} {{[-t|--to]}} {{remote_server_address}} {{local_port}}`
|
||||
|
||||
- Specify a remote server port explicitly:
|
||||
|
||||
`bore local {{[-t|--to]}} {{remote_server_address}} {{[-p|--port]}} {{remote_port}} {{local_port}}`
|
||||
|
||||
- Use a secret for authentication:
|
||||
|
||||
`bore local {{[-t|--to]}} {{remote_server_address}} {{[-s|--secret]}} {{your_secret}} {{local_port}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`bore local {{[-h|--help]}}`
|
||||
@@ -0,0 +1,17 @@
|
||||
# bore
|
||||
|
||||
> Start a local proxy to a remote server using Bore.
|
||||
> Some subcommands such as `local` have their own usage documentation.
|
||||
> More information: <https://github.com/ekzhang/bore#detailed-usage>.
|
||||
|
||||
- Expose a local port to a remote Bore server:
|
||||
|
||||
`bore local {{[-t|--to]}} {{remote_server_address}} {{local_port}}`
|
||||
|
||||
- Start a Bore server:
|
||||
|
||||
`bore server`
|
||||
|
||||
- Display help:
|
||||
|
||||
`bore {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user