OPNsense Forum

English Forums => Virtual private networks => Topic started by: tony124 on March 10, 2021, 01:37:55 PM

Title: WireGuard: description for endpoints possible?
Post by: tony124 on March 10, 2021, 01:37:55 PM
I wonder if someone can give me a hint on this problem:

- I have added a few dozens of WG endpoints;
- each of them is for a single user;
- the user ids (which I already have and cannot easily change) contain characters like -, _,.
- endpoint name can only contain only letters and digits
- I give each user a unique number, e.g. user-A => wg100, user-B => wg101, etc.
- it works, but from the UI I cannot tell which endpoint corresponds to which user

So I wonder if it is possible add a description field to each endpoint.

Another approach is to remove chars which is not letter/digit from user-ids, and then use that stripped user-id as name for endpoint. So I would end up with names like wg0userA, wg0userB etc. There is a danger that after stripping non letter/digit chars, there might be some name collision which is hard to control.


Title: Re: WireGuard: description for endpoints possible?
Post by: mimugmail on March 11, 2021, 03:09:31 PM
Can you add a feature request in github? Shouldnt be hard to add
Title: Re: WireGuard: description for endpoints possible?
Post by: tony124 on March 11, 2021, 03:35:19 PM
I am not sure where to submit the feature request: to

https://github.com/opnsense/plugins

or to

https://github.com/opnsense/core

?
Title: Re: WireGuard: description for endpoints possible?
Post by: mimugmail on March 11, 2021, 03:38:09 PM
Plugins :)