mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
833 B
Plaintext
30 lines
833 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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]}}`
|