Assign a fixed node to a preauthkey connection attempt #572

Closed
opened 2025-12-29 02:20:40 +01:00 by adam · 2 comments
Owner

Originally created by @stas-stelle on GitHub (Oct 26, 2023).

I have an automated service that I want to use headscale with. This service is running as an ephemeral container and fails to safe runtime information. However, I want this service to always appear the same node, when it restarts.
How can I make it that the preauthkey for the service ends up creating/assigning to the same node with the same internal IP and hostname?

Originally created by @stas-stelle on GitHub (Oct 26, 2023). I have an automated service that I want to use headscale with. This service is running as an ephemeral container and fails to safe runtime information. However, I want this service to always appear the same node, when it restarts. How can I make it that the preauthkey for the service ends up creating/assigning to the same node with the same internal IP and hostname?
adam added the enhancementstale labels 2025-12-29 02:20:40 +01:00
adam closed this issue 2025-12-29 02:20:40 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 25, 2024):

This issue is stale because it has been open for 90 days with no activity.

@github-actions[bot] commented on GitHub (Jan 25, 2024): This issue is stale because it has been open for 90 days with no activity.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 2, 2024):

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions[bot] commented on GitHub (Feb 2, 2024): This issue was closed because it has been inactive for 14 days since being marked as stale.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#572