mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-18 16:36:35 +00:00
add expose command (#633)
* add expose command * Fix peer groups steo * Update CLI documentation with examples and clarifications for flags * update docs --------- Co-authored-by: Brandon Hopkins <brandon@techhut.tv>
This commit is contained in:
@@ -273,8 +273,25 @@ Click the **Expose Service** button on any resource to open the reverse proxy cr
|
||||
|
||||
The Networks page also displays a badge on each resource indicating how many reverse proxy services reference it, giving you visibility into which resources are publicly exposed.
|
||||
|
||||
## Expose from CLI
|
||||
|
||||
In addition to creating services through the dashboard, peers can expose local services directly from the command line using the `netbird expose` command. This creates a temporary (ephemeral) service that lives only as long as the command is running — useful for quick demos, development sharing, or temporary webhook endpoints.
|
||||
|
||||
```shell
|
||||
netbird expose 8080
|
||||
```
|
||||
|
||||
The command supports optional authentication (`--with-pin`, `--with-password`, `--with-user-groups`), custom domains (`--with-custom-domain`), and name prefixes (`--with-name-prefix`).
|
||||
|
||||
<Note>
|
||||
The Peer Expose feature must be enabled by an account administrator in **Settings** > **Clients** before peers can use this command.
|
||||
</Note>
|
||||
|
||||
For the complete guide including setup, authentication options, session lifecycle, troubleshooting, and examples, see [Expose from CLI](/manage/reverse-proxy/expose-from-cli).
|
||||
|
||||
## Related pages
|
||||
|
||||
- [Expose from CLI](/manage/reverse-proxy/expose-from-cli) - expose local services from the command line using `netbird expose`
|
||||
- [Multiple Proxy Instances](/selfhosted/maintenance/scaling/multiple-proxy-instances) - deploy multiple proxy instances for high availability and redundancy
|
||||
- [Custom Domains](/manage/reverse-proxy/custom-domains) - configure your own domain names for reverse proxy services
|
||||
- [Authentication](/manage/reverse-proxy/authentication) - detailed guide on SSO, password, and PIN authentication options
|
||||
|
||||
Reference in New Issue
Block a user