Skip to content

Datagram CLI VPN Bug - Root Privileges Required #5

@robertjitaru

Description

@robertjitaru

When running datagram run as a non-root user, the CLI only downloads and starts the conference component, silently skipping the VPN component without any error message or warning
Started datagram.service - Datagram Node. App version: 1.2.2 Conference version: 1.1.4 Running...

Running as root correctly downloads and starts both:

Conference version: 1.1.4
VPN version: 1.1.0
Root cause: VPN uses WireGuard which requires root privileges to create network interfaces (wg0). Instead of showing an error, the CLI silently skips VPN initialization when run as non-root.

Solution: Run datagram CLI as root or with sudo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions