WireGuard / wireguard-vyatta-ubnt

WireGuard for Ubiquiti Devices
https://www.wireguard.com/
GNU General Public License v3.0
1.46k stars 68 forks source link

Add description field to peer #104

Closed joltcan closed 2 years ago

joltcan commented 2 years ago

Thanks for you great work!

Would it be possible to add a description field to the peers? Would be nice to just add comment field like on the firewall rules:


gw# show interfaces wireguard wg0 peer foobar= {
    allowed-ips 10.0.0.12/32
    description "client example.com"
}
poisonsnak commented 2 years ago

I think this exists already. At least it does for me on an ER-X running 2.0.9-hotfix.2, module 1.0.20210606, tools 1.0.20210424 :

user@router# show interfaces wireguard wg0 peer foobar=
 allowed-ips 10.0.0.12/32
 description MyDescription
[edit]

Untitled

joltcan commented 2 years ago

Thought I didnt see it in my ER lite, but Ill double check!

1 okt. 2021 kl. 22:01 skrev poisonsnak @.***>:

 I think this exists already. At least it does for me on an ER-X running 2.0.9-hotfix.2, module 1.0.20210606, tools 1.0.20210424 :

@.***# show interfaces wireguard wg0 peer foobar= allowed-ips 10.0.0.12/32 description MyDescription [edit]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

joltcan commented 2 years ago

Oh, nevermind me.