Open
Conversation
Contributor
sechmann
commented
Apr 11, 2026
- feat(tunnel): add WireGuard, STUN, and tunnel client libraries
- feat(tunnel): add GraphQL schema and regenerate client
- feat(tunnel): add valkey proxy command with WireGuard tunnel
Contributor
📝 Changelog previewBelow is a preview of the Changelog that will be added to the next release. Only commit messages that follow the Conventional Commits specification will be included in the Changelog. v5.24.0 - 2026-04-14Full Changelog: v5.23.1...v5.24.0 🚀 Features
🐛 Bug Fixes⚙️ Miscellaneous Changes
|
Userspace WireGuard (gvisor netstack), STUN discovery with Cloudflare/Google fallback, STUNBind UDP adapter, and GraphQL queries for tunnel lifecycle. Includes tests for WireGuard hex key encoding, STUN server parsing, and STUNBind endpoint handling. Co-authored-by: Thomas Krampl <thomas.siegfried.krampl@nav.no>
Tunnel types, mutations, and queries added to schema.graphql. genqlient config updated to include tunnel operations directory. Client code regenerated with tunnel CreateTunnel, UpdateSTUNEndpoint, DeleteTunnel, and GetTunnel operations. Co-authored-by: Thomas Krampl <thomas.siegfried.krampl@nav.no>
New 'nais valkey proxy' subcommand that creates a point-to-point WireGuard tunnel to a Valkey instance via the tunnel operator gateway. Establishes userspace WireGuard with STUN hole-punching and exposes a local TCP listener. Adds wireguard-go, pion/stun, and gvisor dependencies. Co-authored-by: Thomas Krampl <thomas.siegfried.krampl@nav.no>
Co-authored-by: Thomas Krampl <thomas.siegfried.krampl@nav.no>
…sed lookup - Discover STUN endpoint before creating tunnel; pass clientSTUNEndpoint in CreateTunnelInput instead of calling UpdateTunnelSTUNEndpoint after - Remove UpdateTunnelSTUNEndpoint query/mutation entirely - Change GetTunnel to look up by name instead of ID - Change DeleteTunnel to use teamSlug/environmentName/tunnelName - Remove InstanceName from Config and CreateTunnelInput - Track tunnel by Name (TunnelInfo.TunnelName) instead of UUID - Update proxy.go to use new DeleteTunnel signature - Regenerate genqlient client from updated schema Co-authored-by: Thomas Krampl <thomas.siegfried.krampl@nav.no>
Co-authored-by: Thomas Krampl <thomas.siegfried.krampl@nav.no>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.