wg-portal icon indicating copy to clipboard operation
wg-portal copied to clipboard

Use server-name as name for downloads / configuration

Open EugenMayer opened this issue 3 years ago • 2 comments

Yet the name in the exported configuration corresponds to the name given in the API.

So if i create 'bob' it will be named bob, so the client interface is bob and also the VPN UI will show bob on the client. Same goes for Lisa and so on.

This does not make a lot of sense, since Lisa and Bob do not connect to Lisa or Bob, they connect to a specific server and that is what it should tell them.

Creating 'myserver' in the UI as name does not make sense either, since one would end up having dozens of 'myserver' entries.

Is there any chance to convince you to use the server-name as the name (maybe also sanitized replacing spaces with _ and so one)? Would be great

EugenMayer avatar Nov 08 '21 08:11 EugenMayer

i think this will go in v2 as a future related to this one: https://github.com/h44z/wg-portal/issues/62#issue-1027142781

valireality avatar Nov 11 '21 12:11 valireality

I'm not sure if I understand your request correctly. You want to change the filename of the downloaded config file?

h44z avatar Dec 16 '21 19:12 h44z