Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing documentation for necessary control server auth #124

Open
DennisGaida opened this issue Jan 6, 2025 · 4 comments
Open

Missing documentation for necessary control server auth #124

DennisGaida opened this issue Jan 6, 2025 · 4 comments

Comments

@DennisGaida
Copy link

DennisGaida commented Jan 6, 2025

URL to the Wiki page

https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/control-server.md#authentication

What's missing?

On the authentication page https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/control-server.md#authentication the new necessary config.toml is specified.

You note You can define multiple roles by adding more [[roles]], and authentication methods are described in the section below.. Three questions on that:

1. How do you specify multiple roles?

Just add multiple roles sections? Array?

[[roles]]
name = "1"
routes = ["GET /v1/openvpn/portforwarded"]
auth = "none"

[[roles]]
name = "2"
routes = ["GET /v1/openvpn/status"]
auth = "none"

2. How to you specify multiple routes per role?

Is this even possible or would I define multiple roles if I had more routes to be allowed? Since it does look like an array would the following work:
routes = ["GET /v1/openvpn/portforwarded", "GET /v1/openvpn/status"]

3. Does the name of the role have any relevance?

Is the name of the route just a label and / or does it need to be unique per role?

Copy link

github-actions bot commented Jan 6, 2025

⚠️ This is the Gluetun WIKI and any issue unrelated to the issue will be instantly closed as not planned without any explanation.

qdm12 is more or less the only maintainer so please:

  • do not ask for updates, be patient
  • 👍 the issue to show your support instead of commenting

qdm12 usually checks Wiki issues at least once per month and tries to resolve them all before a new Gluetun release.

@TGM
Copy link

TGM commented Jan 7, 2025

Would be nice to be able to config them via docker-compose.

@DennisGaida
Copy link
Author

Would be nice to be able to config them via docker-compose.

That would be a different issue and a feature request for the gluetun repo, not the wiki documentation repo 😉

@crispybegs
Copy link

Would be nice to be able to config them via docker-compose.

this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants