Skip to content

🛠️ [Feature]: Implementing NAT Traversal #24

Description

@aaravpanchalijs-code

What is the feature?

Ghostwire needs a way for two devices to establish a direct WireGuard connection even when the devices are behind NAT routers.

This feature will add NAT traversal support to the client backend. The coordination server will be responsible for helping devices exchange the information required to attempt a direct connection, while the client-side NAT traversal component will handle the connection attempt and update the WireGuard peer endpoint when a usable address is available.

The NAT traversal process will be kept separate from normal Ghostwire traffic so that connection establishment does not depend on application traffic being successfully delivered.

Technical Implementation

The implementation will be designed to work with the existing kernel-space WireGuard setup rather than replacing or reimplementing WireGuard in userspace.

Component(s) affected

  • Coordination server
  • Clientside Agent (WireGuard / NAT / CLI)
  • Desktop client (Frontend)
  • Docs / infra
  • Other

Alternatives considered

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions