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

Gluetun Control Server APIKEY Auth #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

chdgriff
Copy link

@chdgriff chdgriff commented Oct 7, 2024

Added support for gluetun control server apikey authentation as all routes will become private by default after the v3.40.0 release of gluetun.

@nathang21
Copy link

Thanks for adding this, looks good to me, excited to use this.


port_number=$(curl --fail --silent --show-error $GTN_ADDR/v1/openvpn/portforwarded | jq '.port')
port_number=$(curl --fail --silent --show-error --header "X-API-Key: $GTN_APIKEY" $gtn_addr/v1/openvpn/portforwarded | jq '.port')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be $gtn_apikey, not $GTN_APIKEY.

@stokkumrmv
Copy link

thanks for adding this! Looking forward to start using this. Current build pre v3.40.0 runs smooth!

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

Successfully merging this pull request may close these issues.

4 participants