Skip to content

Commit

Permalink
docs: add better information that need to use dashboard to OAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidapaulopt committed Jan 22, 2025
1 parent 4f707ce commit e8cfcc6
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions docs/content/docs/advanced/tailscale.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ title: Tailscale
next: /docs/scenarios
---

## Authentication

### OAuth
## OAuth

{{% steps %}}

#### Disable AuthKey
### Disable AuthKey

OAuth authentication mode is enable if no AuthKey is set in the configuration
for Tailscale provider.
Expand All @@ -26,10 +24,13 @@ tailscale:
When the proxy starts, it will wait to be authenticated with the Tailscale.
#### Authenticate
### Go Dashboard
Go to TSDProxy Dashboard (example: <http://192.168.1.1:8080>).
Go to TSDProxy Dashboard and click on the Proxy that should show "Authentication"
status.
### Authenticate
Click on the Proxy that should show "Authentication" status.
>[!TIP]
> Set "Ephemeral" to false in the Tailscale provider to avoid the need of
Expand All @@ -38,11 +39,11 @@ or [Proxy List configuration](../../list/#proxy-list-file-options)
{{% /steps %}}
### AuthKey
## AuthKey
{{% steps %}}
#### Generate Authkey
### Generate Authkey
1. Go to [https://login.tailscale.com/admin/settings/keys](https://login.tailscale.com/admin/settings/keys)
2. Click in "Generate auth key"
Expand All @@ -58,7 +59,7 @@ or [Proxy List configuration](../../list/#proxy-list-file-options)
> Add a new Tailscale provider to the configuration if
> you need to use different)
#### Add to configuration
### Add to configuration
Add you key to the configuration as follow:
Expand All @@ -70,13 +71,13 @@ tailscale:
authKeyFile: ""
```
#### Restart
### Restart
Restart TSDProxy
gg
{{% /steps %}}
## Funnel
Beside adding the TSDProxy configuration to activate Funnel to a proxy, you also
should give permissions on Tailscale ACL. See [here](../../troubleshooting/#funnel-doesnt-work) to more detail.
should give permissions on Tailscale ACL. See [here](.././troubleshooting/#funnel-doesnt-work) to more detail.

0 comments on commit e8cfcc6

Please sign in to comment.