Skip to content

[BUG] Cannot have more than one wireguard peer #253

@SerialVelocity

Description

@SerialVelocity

Hey openwisp team,

It seems that it is not possible to have more than one wireguard peer when using the openwrt backend. I think the issue is that the peer is being named after the interface so each peer just overwrites the previous one:
https://github.com/openwisp/netjsonconfig/blob/1.0.2/netjsonconfig/backends/openwrt/converters/wireguard_peers.py#L20

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions