seashell / drago

☁️ Securely connect anything with WireGuard® and manage all your networks from a single place.

Home Page:https://seashell.github.io/drago

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom interface names

0x1a8510f2 opened this issue · comments

Is your feature request related to a problem? Please describe.
I would like to set a custom and static interface name for the client to use with firewall rules

Describe the solution you'd like
An additional option here:
image
Would work great in my opinion.

Describe alternatives you've considered
None

As of now links are always labeled drago-<random_id>, and their aliases are set based on the corresponding interface IDs in the database. Allowing for custom link names should be rather straightforward, and involve modifying the CreateInterface() function within the Network Controller implementation, as well as the UI and API to make sure this parameter can be passed by the user. Will add this to the list of improvements for the new release.

Thanks! I had a quick look at implementing this myself following your overview above, but I gave up when I opened the UI folder and realised I have no clue about frontend dev :P hence, I'll have to leave this to you for now.