Skip to content

Download" button for WireGuard peer configurations in Peers list #9791

@Krisstof

Description

@Krisstof

Description:
Currently, when generating a WireGuard peer configuration using the "Generator" page, the configuration file is only displayed once. After leaving this page, there is no way to download the configuration file again through the web interface.
Current Workflow Issue:

User generates a peer configuration via VPN → WireGuard → Generator
Configuration is displayed once and can be downloaded
User later modifies the peer settings in VPN → WireGuard → Peers (common scenario: adjusting Allowed IPs, DNS, endpoint, etc.)
No download option available - user must manually reconstruct the .conf file or retrieve it via SSH

Use Cases:

Distributing configurations to multiple devices for the same peer
Regenerating configuration after modifications
Providing configuration to a new device
Recovering lost configuration files
Team environments where configurations need to be shared

Proposed Solution:
Add a "Download" button (or QR code icon) next to each peer in the Peers list page, similar to what's available in the Generator page. This would generate the complete client configuration file (.conf) with all current settings.
Benefits:

Improved user experience and workflow
Consistency with the Generator page functionality
Eliminates the need for SSH access for basic configuration retrieval
Reduces support requests and forum questions about this issue

Current Workaround:
Users must either:

Connect via SSH and manually reconstruct the configuration
Remember to save configurations immediately after generation
Use the API to extract configuration data

This feature would significantly improve the usability of the WireGuard implementation in OPNsense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    incompleteIssue template missing info

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions